Fix to use bower version emojify.js

This commit is contained in:
Wu Cheng-Han 2016-10-19 22:12:12 +08:00
parent 5640de8c77
commit d70d0318e5
8 changed files with 4 additions and 7 deletions

View file

@ -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'],

View file

@ -3733,8 +3733,6 @@ function matchInContainer(text) {
}
}
var emojify = require('emojify.js');
$(editor.getInputField())
.textcomplete([
{ // emoji strategy