Fix history and edit mode change
This commit is contained in:
parent
2ccaf71191
commit
8f9afa42d5
1 changed files with 3 additions and 3 deletions
|
@ -55,6 +55,7 @@ require('randomcolor');
|
||||||
|
|
||||||
var common = require('./common.js');
|
var common = require('./common.js');
|
||||||
var urlpath = common.urlpath;
|
var urlpath = common.urlpath;
|
||||||
|
var noteid = common.noteid;
|
||||||
var debug = common.debug;
|
var debug = common.debug;
|
||||||
var version = common.version;
|
var version = common.version;
|
||||||
var serverurl = common.serverurl;
|
var serverurl = common.serverurl;
|
||||||
|
@ -89,9 +90,8 @@ var renderTitle = extra.renderTitle;
|
||||||
var renderFilename = extra.renderFilename;
|
var renderFilename = extra.renderFilename;
|
||||||
var scrollToHash = extra.scrollToHash;
|
var scrollToHash = extra.scrollToHash;
|
||||||
|
|
||||||
var history = require('./history');
|
var historyModule = require('./history');
|
||||||
var writeHistory = history.writeHistory;
|
var writeHistory = historyModule.writeHistory;
|
||||||
|
|
||||||
|
|
||||||
var renderer = require('./render');
|
var renderer = require('./render');
|
||||||
var preventXSS = renderer.preventXSS;
|
var preventXSS = renderer.preventXSS;
|
||||||
|
|
Loading…
Reference in a new issue