mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-22 07:29:08 +00:00
refract: file structure
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ const playbackRouter = require('./routes/playbackRouter.js');
|
|||||||
const port = process.env.PORT || config.server.port;
|
const port = process.env.PORT || config.server.port;
|
||||||
|
|
||||||
// Global Objects
|
// Global Objects
|
||||||
const Timer = require('./timer.js');
|
const Timer = require('./classes/Timer.js');
|
||||||
// TODO: this should be replaced by some sort of calculation
|
// TODO: this should be replaced by some sort of calculation
|
||||||
let durationForNow = 5400;
|
let durationForNow = 5400;
|
||||||
global.timer = new Timer();
|
global.timer = new Timer();
|
||||||
|
|||||||
@@ -116,4 +116,5 @@ class Timer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
module.exports = Timer;
|
module.exports = Timer;
|
||||||
Reference in New Issue
Block a user