libreoffice-online/loleaflet/admin/main-admin.js
Samuel Mehrbrodt 203c8be217 Fix admin dasboard after vex update
Change-Id: I302f0213a460cd0dd3d4644373f4b75d4d419696
Reviewed-on: https://gerrit.libreoffice.org/71839
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-06 09:00:10 +02:00

29 lines
832 B
JavaScript

/* -*- js-indent-level: 8 -*- */
// CSS requires
require('bootstrap/dist/css/bootstrap.css');
require('./bootstrap/ie10-viewport-bug-workaround.css');
require('./bootstrap/dashboard.css');
require('vex-js/dist/css/vex.css');
require('vex-js/dist/css/vex-theme-plain.css');
var $ = require('jquery');
global.$ = global.jQuery = $;
require('json-js/json2');
require('l10n-for-node');
var vex = require('vex-js/dist/js/vex.combined.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('./bootstrap/holder.min.js');
require('./bootstrap/ie10-viewport-bug-workaround.js');
global.Admin = require('admin-src.js');