diff options
author | Wu Cheng-Han | 2016-10-22 15:48:28 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-22 15:48:28 +0800 |
commit | 27bc94744dbfdf64717f5f18fbba2dcf931a0a5d (patch) | |
tree | 35f090f5baf074eba9cf8406c848a796ea671489 /public/js | |
parent | d4bb87b8ec9ce053ca8e28cc31905c0656d9a46a (diff) |
Fix index.js isValidURL is not defined error
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 1 | ||||
-rw-r--r-- | public/js/index.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index 499bdc4c..bc6092db 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -1115,6 +1115,7 @@ module.exports = { renderTitle: renderTitle, renderFilename: renderFilename, renderTags: renderTags, + isValidURL: isValidURL, generateToc: generateToc, smoothHashScroll: smoothHashScroll, scrollToHash: scrollToHash, diff --git a/public/js/index.js b/public/js/index.js index 1ba10e14..77ab089c 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -36,6 +36,7 @@ var renderTOC = extra.renderTOC; var renderTitle = extra.renderTitle; var renderFilename = extra.renderFilename; var renderTags = extra.renderTags; +var isValidURL = extra.isValidURL; var scrollToHash = extra.scrollToHash; var updateLastChangeUser = extra.updateLastChangeUser; var updateOwner = extra.updateOwner; |