engelsystem/resources/assets/js/vendor.js

20 lines
544 B
JavaScript
Raw Normal View History

require('core-js/stable');
2018-08-03 11:35:44 +02:00
window.$ = window.jQuery = require('jquery');
2021-07-24 12:38:23 +02:00
window.bootstrap = require('bootstrap');
window.moment = require('moment');
require('moment/locale/de');
2018-08-03 11:35:44 +02:00
require('./forms');
require('./sticky-headers');
require('./moment-countdown');
2018-01-03 01:19:31 +01: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')}
});