2018-07-24 07:53:26 -05:00
|
|
|
/* -*- js-indent-level: 8 -*- */
|
2016-08-09 09:26:05 -05:00
|
|
|
// CSS requires
|
2019-05-06 01:02:52 -05:00
|
|
|
require('vex-js/dist/css/vex.css');
|
|
|
|
require('vex-js/dist/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');
|
|
|
|
|
2019-05-06 01:02:52 -05:00
|
|
|
var vex = require('vex-js/dist/js/vex.combined.js');
|
2016-08-09 09:26:05 -05:00
|
|
|
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');
|
2020-06-03 17:36:46 -05:00
|
|
|
global.Admin = require('admin-src.js');
|