Correctly expose jquery

This commit is contained in:
marudor 2018-08-03 11:35:44 +02:00
parent fb1e604363
commit ccd061d3cb
No known key found for this signature in database
GPG Key ID: D64C68DA9EB642AD
1 changed files with 12 additions and 14 deletions

View File

@ -1,18 +1,16 @@
import 'imports-loader?module=>false!jquery'; window.$ = window.jQuery = require('jquery');
import 'imports-loader?define=>false!jquery-ui'; require('imports-loader?define=>false!jquery-ui');
import 'bootstrap'; require('bootstrap');
import 'imports-loader?define=>false&exports=>false!bootstrap-datepicker'; require('imports-loader?define=>false&exports=>false!bootstrap-datepicker');
import 'bootstrap-datepicker/js/locales/bootstrap-datepicker.de'; require('bootstrap-datepicker/js/locales/bootstrap-datepicker.de');
import 'bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css'; require('bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css');
import 'imports-loader?this=>window!chart.js'; require('imports-loader?this=>window!chart.js');
import 'imports-loader?this=>window&define=>false&exports=>false!moment'; require('imports-loader?this=>window&define=>false&exports=>false!moment');
import 'imports-loader?this=>window&define=>false&exports=>false!moment/locale/de'; require('imports-loader?this=>window&define=>false&exports=>false!moment/locale/de');
import './forms'; require('./forms');
import './sticky-headers'; require('./sticky-headers');
import './moment-countdown'; require('./moment-countdown');
$(function () { $(function () {
moment.locale("%locale%"); moment.locale("%locale%");
}); });