LP#1350350 Add jquery browser client dependency user/berick/lp1350350-browser-client-jquery-dep
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Apr 2015 16:20:33 +0000 (12:20 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 2 Apr 2015 16:22:09 +0000 (12:22 -0400)
Tell bower to install jquery when fetching and building the browser
client dependencies.

Tell grunt to copy the jquery files into the build directory.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/bower.json

index a3ba032..c33010f 100644 (file)
@@ -22,6 +22,8 @@ module.exports = function(grunt) {
             'bower_components/angular-bootstrap/ui-bootstrap.min.js',
             'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js',
             'bower_components/angular-hotkeys/build/hotkeys.min.js',
+            'bower_components/jquery/dist/jquery.min.js',
+            'bower_components/jquery/dist/jquery.min.map'
           ]
         }]
       },
index 8c2ed1f..65892f5 100644 (file)
@@ -18,6 +18,7 @@
     "tests"
   ],
   "devDependencies": {
+    "jquery" : "~2.1.3",
     "bootstrap": "~3.1.1",
     "angular": "~1.2.16",
     "angular-route": "~1.2.16",