diff --git a/public/js/extra.js b/public/js/extra.js index 4e3254463..1eae80f68 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 2e21a2936..6625d2d1f 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 e2af5b0e0..a322b0afd 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 fd8bfbffc..08fee9c00 100644 --- a/public/views/help-modal.ejs +++ b/public/views/help-modal.ejs @@ -113,7 +113,7 @@ ```javascript
var i = 0;
``` - :smile: + :smile: :smile: diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 21632ec29..756505369 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -98,6 +98,7 @@ + <% } %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index dedfc98d8..9dbefa6f2 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -100,6 +100,7 @@ + <% } %> diff --git a/webpack.production.js b/webpack.production.js index 95b90b974..f857c53c1 100644 --- a/webpack.production.js +++ b/webpack.production.js @@ -9,7 +9,6 @@ module.exports = Object.assign({}, baseConfig, { new webpack.ProvidePlugin({ Visibility: "visibilityjs", Cookies: "js-cookie", - emojify: "emojify.js", key: "keymaster", $: "jquery", jQuery: "jquery", diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index a39f8384b..b9e61b674 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -8,7 +8,6 @@ module.exports = { new webpack.ProvidePlugin({ Visibility: "visibilityjs", Cookies: "js-cookie", - emojify: "emojify.js", key: "keymaster", $: "jquery", jQuery: "jquery",