Combined loading of javascript files
This commit is contained in:
parent
a4c71e9a50
commit
d03f107fbf
2 changed files with 13 additions and 10 deletions
12
js/merged.json
Normal file
12
js/merged.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[
|
||||||
|
"vendor/angular/angular.min.js",
|
||||||
|
"vendor/angular-route/angular-route.min.js",
|
||||||
|
"vendor/angular-animate/angular-animate.min.js",
|
||||||
|
"vendor/angular-sanitize/angular-sanitize.min.js",
|
||||||
|
"vendor/angular-drag-and-drop-lists/angular-drag-and-drop-lists.min.js",
|
||||||
|
"vendor/ui-select/dist/select.min.js",
|
||||||
|
"vendor/jstimezonedetect/dist/jstz.min.js",
|
||||||
|
"vendor/ical.js/build/ical.min.js",
|
||||||
|
"vendor_legacy/jquery-timepicker/jquery.ui.timepicker.js",
|
||||||
|
"public/app.min.js"
|
||||||
|
]
|
|
@ -1,14 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
script('tasks', 'vendor/angular/angular.min');
|
script('tasks', 'merged');
|
||||||
script('tasks', 'vendor/angular-route/angular-route.min');
|
|
||||||
script('tasks', 'vendor/angular-animate/angular-animate.min');
|
|
||||||
script('tasks', 'vendor/angular-sanitize/angular-sanitize.min');
|
|
||||||
script('tasks', 'vendor/angular-drag-and-drop-lists/angular-drag-and-drop-lists.min');
|
|
||||||
script('tasks', 'vendor/ui-select/dist/select.min');
|
|
||||||
script('tasks', 'vendor/jstimezonedetect/dist/jstz.min');
|
|
||||||
script('tasks', 'public/app.min');
|
|
||||||
script('tasks', 'vendor_legacy/jquery-timepicker/jquery.ui.timepicker');
|
|
||||||
script('tasks', 'vendor/ical.js/build/ical.min');
|
|
||||||
style('tasks', 'style');
|
style('tasks', 'style');
|
||||||
style('tasks', 'vendor/angularui/ui-select/select2');
|
style('tasks', 'vendor/angularui/ui-select/select2');
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue