2016-08-09 09:26:05 -05:00
|
|
|
// CSS requires
|
2018-04-29 16:26:04 -05:00
|
|
|
require('bootstrap/dist/css/bootstrap.css');
|
2018-05-26 15:57:40 -05:00
|
|
|
require('./bootstrap/ie10-viewport-bug-workaround.css');
|
|
|
|
require('./bootstrap/dashboard.css');
|
2018-04-29 16:26:04 -05:00
|
|
|
require('vex-js/css/vex.css');
|
|
|
|
require('vex-js/css/vex-theme-plain.css');
|
2016-08-09 09:26:05 -05:00
|
|
|
|
|
|
|
var $ = require('jquery');
|
|
|
|
global.$ = global.jQuery = $;
|
|
|
|
|
|
|
|
require('json-js/json2');
|
|
|
|
require('l10n-for-node');
|
|
|
|
|
|
|
|
var vex = require('vex-js');
|
|
|
|
vex.dialog = require('vex-js/js/vex.dialog.js');
|
|
|
|
vex.defaultOptions.className = 'vex-theme-plain';
|
|
|
|
global.vex = vex;
|
|
|
|
|
|
|
|
global._ = function (string) {
|
|
|
|
return string.toLocaleString();
|
|
|
|
};
|
|
|
|
|
|
|
|
global.l10nstrings = require('./admin.strings.js');
|
|
|
|
|
2016-08-09 09:43:00 -05:00
|
|
|
global.d3 = require('d3');
|
2016-08-09 09:26:05 -05:00
|
|
|
require('bootstrap/dist/js/bootstrap.js');
|
2018-05-26 15:57:40 -05:00
|
|
|
require('./bootstrap/holder.min.js');
|
|
|
|
require('./bootstrap/ie10-viewport-bug-workaround.js');
|
2018-05-19 08:59:56 -05:00
|
|
|
global.Admin = require('admin-src.js');
|