diff options
author | Yukai Huang | 2016-10-13 15:59:22 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 15:59:22 +0800 |
commit | f4f2497d23ff26caba7673b5de0bc8f61b69efca (patch) | |
tree | 9d69463fa0eef2a728109dc71b8800470c970e5a /public/js | |
parent | f678d9b81451fba0b196332a2d2d97310f2133ab (diff) |
Expose parseMeta function
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/extra.js | 3 | ||||
-rw-r--r-- | public/js/index.js | 1 | ||||
-rw-r--r-- | public/js/pretty.js | 1 |
3 files changed, 4 insertions, 1 deletions
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"); |