renamed fileManager.js to controller.js

This commit is contained in:
Danny Coates 2018-11-08 15:12:07 -08:00
parent cab6f1bafb
commit 0631abe653
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 20 additions and 12 deletions

View file

@ -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);