summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js6
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;