* Repair JS path in TPAC jquery import.
* Tell git to ignore Open-ILS/web/js/ui/default/common/build/ since it
only contains generated files.
* Add jquery to Karma unit test dependencies. This is not strictly
required, since angular includes a slim jquery shim, but having the
unit tests load the same base JS as the UI is probably best.
Confirmed tests still pass.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/build/
Open-ILS/web/js/ui/default/staff/node_modules/
Open-ILS/web/js/ui/default/staff/bower_components/
+Open-ILS/web/js/ui/default/common/build/
[% INCLUDE "opac/i18n_strings.tt2" %]
[% IF ctx.want_jquery %]
-<script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/common/jquery.min.js[% ctx.cache_key %]"></script>
+<script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/common/build/js/jquery.min.js[% ctx.cache_key %]"></script>
[% END; # ctx.want_jquery %]
<!-- DOB validation for Patron Registration in OPAC -->
logLevel: config.LOG_INFO,
files : [
+ '../common/build/js/jquery.min.js',
'build/js/lovefield.min.js',
'build/js/angular.min.js',
'build/js/angular-route.min.js',