icingaweb2/public/js/main.js
Jannis Moßhammer e0f0e1fc13 Fix history api URI encoding
The history API encoded components multiple times, e.g. causing a [ to
be converted to %5B in the first link, then to %255B on the second link,
%25255B on the third, etc.

refs #4408
2013-07-15 13:03:12 +02:00

28 lines
785 B
JavaScript
Executable File

requirejs.config({
baseUrl: window.base_url + '/js',
paths: {
jquery: 'vendor/jquery-1.8.3',
bootstrap: 'vendor/bootstrap.min',
eve: 'vendor/raphael/eve',
"raphael": 'vendor/raphael/raphael.amd',
"raphael.core": 'vendor/raphael/raphael.core',
"raphael.svg": 'vendor/raphael/raphael.svg',
"raphael.vml": 'vendor/raphael/raphael.vml',
'ace' : 'vendor/ace/ace',
"Holder": 'vendor/holder',
"History": 'vendor/history',
logging: 'icinga/util/logging'
}
});
define(['jquery','Holder', 'History'], function ($) {
requirejs(['bootstrap']);
requirejs(['icinga/icinga'], function (Icinga) {
window.$ = $;
window.jQuery = $;
window.Icinga = Icinga;
});
});