summaryrefslogtreecommitdiff
path: root/resources/assets/js/vendor.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/assets/js/vendor.js')
-rw-r--r--resources/assets/js/vendor.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/assets/js/vendor.js b/resources/assets/js/vendor.js
new file mode 100644
index 00000000..dd6b66b3
--- /dev/null
+++ b/resources/assets/js/vendor.js
@@ -0,0 +1,16 @@
+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');
+
+$(function () {
+ moment.locale($('html').attr('lang'));
+});