LP#1680140 Angular 1.6 + dependency updates collab/berick/lp1680140-angular-1.6
authorBill Erickson <berickxx@gmail.com>
Fri, 2 Jun 2017 21:01:32 +0000 (17:01 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 2 Jun 2017 21:10:09 +0000 (17:10 -0400)
commitc804c9ee292beed4ef3e9230b18413a645fb9d18
treee89bfb15f978f43978759536e27b3813b4b1eb39
parentfc9b7ea11520aaf9f188e682daa9066d91870a1c
LP#1680140 Angular 1.6 + dependency updates

Rebuild package.json starting with Angular 1.6.  This resulted in a
number of dependency updates and small changes required to keep the
dependencies happy.

* Teach print.js to use promise-style $http responses, instead of
  .success() and .error()
* Remove unused '$http' dependency in hatch.js
* Fix egDate custom test matcher to work with newer version of
  karma-jasmine.
* Build IDL for test scripts using Grunt/exec "cwd" since Grunt fails to
  understand "&&" commands, like 'cd foo && bar'.

See also
https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/package.json
Open-ILS/web/js/ui/default/staff/services/hatch.js
Open-ILS/web/js/ui/default/staff/services/print.js
Open-ILS/web/js/ui/default/staff/test/unit/egDate.js