diff options
author | Wu Cheng-Han | 2016-10-19 22:12:12 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-19 22:12:12 +0800 |
commit | d70d0318e5acb7ad2994689741cfee976e754792 (patch) | |
tree | 7569650111383138f1ec1f78102d50b5136564ef /public/js | |
parent | 5640de8c77ed861947bd34748889b5dbaccf08c1 (diff) |
Fix to use bower version emojify.js
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/extra.js | 2 | ||||
-rw-r--r-- | public/js/index.js | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index 4e325446..1eae80f6 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -879,8 +879,6 @@ md.use(require('markdown-it-emoji'), { shortcuts: false }); -var emojify = require('emojify.js'); - emojify.setConfig({ blacklist: { elements: ['script', 'textarea', 'a', 'pre', 'code', 'svg'], diff --git a/public/js/index.js b/public/js/index.js index 2e21a293..6625d2d1 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -3733,8 +3733,6 @@ function matchInContainer(text) { } } -var emojify = require('emojify.js'); - $(editor.getInputField()) .textcomplete([ { // emoji strategy |