Browse Source

Demo deps update

pull/82/head
Vitaly Puzrin 10 years ago
parent
commit
3b4e155a1b
  1. 20
      package.json
  2. 2
      support/demo_template/index.js

20
package.json

@ -36,16 +36,16 @@
"eslint-plugin-nodeca": "^1.0.0",
"istanbul": "*",
"jade": "~1.9.2",
"markdown-it-abbr": "~ 0.1.0",
"markdown-it-deflist": "~ 0.1.0",
"markdown-it-emoji": "~ 0.1.3",
"markdown-it-footnote": "~ 0.1.0",
"markdown-it-for-inline": "~ 0.1.0",
"markdown-it-ins": "~ 0.1.0",
"markdown-it-mark": "~ 0.1.0",
"markdown-it-sub": "~ 0.1.0",
"markdown-it-sup": "~ 0.1.0",
"markdown-it-testgen": "~ 0.1.3",
"markdown-it-abbr": "^1.0.0",
"markdown-it-deflist": "^1.0.0",
"markdown-it-emoji": "^1.0.0",
"markdown-it-footnote": "^1.0.0",
"markdown-it-for-inline": "~0.1.0",
"markdown-it-ins": "^1.0.0",
"markdown-it-mark": "^1.0.0",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"markdown-it-testgen": "~0.1.3",
"marked": "0.3.3",
"stylus": "~0.50.0",
"mocha": "*",

2
support/demo_template/index.js

@ -84,7 +84,7 @@
};
// Replace emoji codes with images
mdHtml.renderer.rules.emoji = function(token, idx) {
return window.twemoji.parse(token[idx].to);
return window.twemoji.parse(token[idx].content);
};
//

Loading…
Cancel
Save