mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
refactoring: move deviceName, timeFormat, formatAgo, timeAt to utils
This commit is contained in:
+4
-1
@@ -149,7 +149,10 @@ client.load = function load(serverSettings, callback) {
|
||||
, pluginBase: client.plugins.base(majorPills, minorPills, statusPills, bgStatus, client.tooltip, $.localStorage)
|
||||
};
|
||||
|
||||
client.utils = require('../utils')(client.ctx.settings);
|
||||
client.utils = require('../utils')({
|
||||
settings: client.settings
|
||||
, language: language
|
||||
});
|
||||
client.sbx = sandbox.clientInit(client.ctx, client.now);
|
||||
client.renderer = require('./renderer')(client, d3, $);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user