summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-19 22:12:12 +0800
committerWu Cheng-Han2016-10-19 22:12:12 +0800
commitd70d0318e5acb7ad2994689741cfee976e754792 (patch)
tree7569650111383138f1ec1f78102d50b5136564ef /public/js
parent5640de8c77ed861947bd34748889b5dbaccf08c1 (diff)
Fix to use bower version emojify.js
Diffstat (limited to 'public/js')
-rw-r--r--public/js/extra.js2
-rw-r--r--public/js/index.js2
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