diff options
author | Yukai Huang | 2016-10-09 21:35:24 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-09 21:35:24 +0800 |
commit | 8f9afa42d57b26599de935e93b8b3a14d899566c (patch) | |
tree | fa71208e9c157c790968762b8febf17e60a340b7 /public/js | |
parent | 2ccaf7119162f596fbc6ceb011cbf841575e21d5 (diff) |
Fix history and edit mode change
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js index 7be03086..8a55037b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -55,6 +55,7 @@ require('randomcolor'); var common = require('./common.js'); var urlpath = common.urlpath; +var noteid = common.noteid; var debug = common.debug; var version = common.version; var serverurl = common.serverurl; @@ -89,9 +90,8 @@ var renderTitle = extra.renderTitle; var renderFilename = extra.renderFilename; var scrollToHash = extra.scrollToHash; -var history = require('./history'); -var writeHistory = history.writeHistory; - +var historyModule = require('./history'); +var writeHistory = historyModule.writeHistory; var renderer = require('./render'); var preventXSS = renderer.preventXSS; |