From d70d0318e5acb7ad2994689741cfee976e754792 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Wed, 19 Oct 2016 22:12:12 +0800 Subject: Fix to use bower version emojify.js --- public/js/extra.js | 2 -- public/js/index.js | 2 -- public/views/foot.ejs | 1 + public/views/help-modal.ejs | 2 +- public/views/pretty.ejs | 1 + public/views/slide.ejs | 1 + 6 files changed, 4 insertions(+), 5 deletions(-) (limited to 'public') 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 diff --git a/public/views/foot.ejs b/public/views/foot.ejs index e2af5b0e..a322b0af 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -16,6 +16,7 @@ + <% } %> diff --git a/public/views/help-modal.ejs b/public/views/help-modal.ejs index fd8bfbff..08fee9c0 100644 --- a/public/views/help-modal.ejs +++ b/public/views/help-modal.ejs @@ -113,7 +113,7 @@