2019-07-26 12:40:21 +02:00
|
|
|
require('core-js/stable');
|
2018-08-03 11:35:44 +02:00
|
|
|
window.$ = window.jQuery = require('jquery');
|
|
|
|
require('imports-loader?define=>false!jquery-ui');
|
|
|
|
require('bootstrap');
|
|
|
|
require('imports-loader?this=>window&define=>false&exports=>false!moment');
|
|
|
|
require('imports-loader?this=>window&define=>false&exports=>false!moment/locale/de');
|
2018-12-04 21:03:32 +01:00
|
|
|
require('imports-loader?define=>false&exports=>false!eonasdan-bootstrap-datetimepicker');
|
|
|
|
require('imports-loader?this=>window!chart.js');
|
2019-12-30 14:06:07 +01:00
|
|
|
require('./offcanvas');
|
2018-08-03 11:35:44 +02:00
|
|
|
require('./forms');
|
|
|
|
require('./sticky-headers');
|
|
|
|
require('./moment-countdown');
|
2018-01-03 01:19:31 +01:00
|
|
|
|
2019-10-11 21:16:24 +02:00
|
|
|
moment.updateLocale('en', {
|
|
|
|
week : {
|
|
|
|
dow : 1, // Monday is the first day of the week.
|
|
|
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2018-09-03 16:33:13 +02:00
|
|
|
$.ajaxSetup({
|
|
|
|
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}
|
|
|
|
});
|