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?define=>false&exports=>false!bootstrap-datepicker');
|
|
|
|
require('bootstrap-datepicker/js/locales/bootstrap-datepicker.de');
|
|
|
|
require('bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css');
|
|
|
|
require('imports-loader?this=>window!chart.js');
|
|
|
|
require('imports-loader?this=>window&define=>false&exports=>false!moment');
|
|
|
|
require('imports-loader?this=>window&define=>false&exports=>false!moment/locale/de');
|
|
|
|
require('./forms');
|
|
|
|
require('./sticky-headers');
|
|
|
|
require('./moment-countdown');
|
2018-01-03 01:19:31 +01:00
|
|
|
|
|
|
|
$(function () {
|
2018-08-11 22:16:57 +02:00
|
|
|
moment.locale($('html').attr('lang'));
|
2018-01-03 01:19:31 +01:00
|
|
|
});
|
2018-09-03 16:33:13 +02:00
|
|
|
|
|
|
|
$.ajaxSetup({
|
|
|
|
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}
|
|
|
|
});
|