libreoffice-online/loleaflet/build/adminDeps.js
Pranav Kant f75de86c6d loleaflet: Modularize admin console scripts
Let the whole compiled admin bundle export a variable 'Admin' and
attach various classes to this global variable, similar to how we
have in Leaflet having a global L variable and other things
attached to this variable.
2016-08-09 20:18:59 +05:30

36 lines
768 B
JavaScript

var adminDeps = {
AdminCore: {
src: ['admin/Base.js',
'admin/Admin.js',
'admin/AdminSocketBase.js'],
desc: 'Core admin scripts infrastructure'
},
Util: {
src: ['admin/Util.js'],
desc: 'Utility class',
deps: ['AdminCore']
},
AdminSocketOverview: {
src: ['admin/AdminSocketOverview.js'],
desc: 'Socket to handle messages in overview page.',
deps: ['AdminCore']
},
AdminSocketAnalytics: {
src: ['admin/AdminSocketAnalytics.js'],
desc: 'Socket to handle messages in analytics page.',
deps: ['AdminCore']
},
AdminSocketSettings: {
src: ['admin/AdminSocketSettings.js'],
desc: 'Socket to handle settings from server',
deps: ['AdminCore']
}
};
if (typeof exports !== 'undefined') {
exports.adminDeps = adminDeps;
}