2013-06-14 13:51:44 +02:00
|
|
|
requirejs.config({
|
|
|
|
baseUrl: window.base_url + '/js',
|
|
|
|
paths: {
|
2013-08-21 16:07:26 +02:00
|
|
|
'jquery': 'vendor/jquery-1.8.3',
|
|
|
|
'bootstrap': 'vendor/bootstrap/bootstrap.min',
|
|
|
|
'history': 'vendor/history',
|
|
|
|
'logging': 'icinga/util/logging',
|
|
|
|
'datetimepicker': 'vendor/bootstrap/datetimepicker.min'
|
2013-06-14 13:51:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2013-08-21 16:07:26 +02:00
|
|
|
define(['jquery', 'history'], function ($) {
|
|
|
|
requirejs(['bootstrap'], function() {
|
|
|
|
requirejs(['datetimepicker']);
|
|
|
|
});
|
|
|
|
|
2013-06-19 13:21:25 +02:00
|
|
|
requirejs(['icinga/icinga'], function (Icinga) {
|
2013-06-14 13:51:44 +02:00
|
|
|
window.$ = $;
|
|
|
|
window.jQuery = $;
|
|
|
|
window.Icinga = Icinga;
|
|
|
|
});
|
2013-08-21 16:07:26 +02:00
|
|
|
});
|