libreoffice-online/loleaflet/main-admin.js
Henry Castro a56b49daed loleaflet: add more node paths when bundling admin files
Change-Id: I73190834b92d9ab32944b09b8bd1abe47797984d
2018-05-19 10:27:40 -04:00

29 lines
838 B
JavaScript

// CSS requires
require('bootstrap/dist/css/bootstrap.css');
require('./admin/bootstrap/ie10-viewport-bug-workaround.css');
require('./admin/bootstrap/dashboard.css');
require('vex-js/css/vex.css');
require('vex-js/css/vex-theme-plain.css');
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');
global.d3 = require('d3');
require('bootstrap/dist/js/bootstrap.js');
require('./admin/bootstrap/holder.min.js');
require('./admin/bootstrap/ie10-viewport-bug-workaround.js');
global.Admin = require('admin-src.js');