diff --git a/public/js/extra.js b/public/js/extra.js index 1a1caf8a..e19a35dc 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -1083,5 +1083,6 @@ module.exports = { scrollToHash: scrollToHash, owner: owner, updateLastChangeUser: updateLastChangeUser, - updateOwner: updateOwner + updateOwner: updateOwner, + parseMeta: parseMeta }; diff --git a/public/js/index.js b/public/js/index.js index 82d3cedb..4d745327 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -52,6 +52,7 @@ var scrollToHash = extra.scrollToHash; var owner = extra.owner; var updateLastChangeUser = extra.updateLastChangeUser; var updateOwner = extra.updateOwner; +var parseMeta = extra.parseMeta; var historyModule = require('./history'); var writeHistory = historyModule.writeHistory; diff --git a/public/js/pretty.js b/public/js/pretty.js index c1c2b4a4..c5211202 100644 --- a/public/js/pretty.js +++ b/public/js/pretty.js @@ -8,6 +8,7 @@ var generateToc = extra.generateToc; var smoothHashScroll = extra.smoothHashScroll; var postProcess = extra.postProcess; var updateLastChange = extra.updateLastChange; +var parseMeta = extra.parseMeta; var preventXSS = require('./render').preventXSS; var markdown = $("#doc.markdown-body");