renamed fileManager.js to controller.js
This commit is contained in:
parent
cab6f1bafb
commit
0631abe653
4 changed files with 20 additions and 12 deletions
|
@ -135,9 +135,9 @@ emitter.on('pushState', function(path) {
|
|||
console.log('pushState ' + path + ' ' + JSON.stringify(state));
|
||||
});
|
||||
|
||||
const fileManager = require('../app/fileManager').default;
|
||||
const controller = require('../app/controller').default;
|
||||
try {
|
||||
fileManager(state, emitter);
|
||||
controller(state, emitter);
|
||||
} catch (e) {
|
||||
console.error('error' + e);
|
||||
console.error(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue