Closed GoshaFighten closed 8 years ago
Your _isNumber = DX.require("/utils/utils.common").isNumber statement fails in my environment. I replaced it with lodash's .isNumber.
This library is not compatible with Breeze+Angular.
When using BreezeJS and Angular the promises returned from calls to Breeze do not implement the fail method, but rather the catch method.
In order for me to get this library to work in my project I had to replace all .fail calls with .catch calls in cases where entityManager calls were made.
In my Angular app I include the following breeze scripts (in order): breeze.min.js breeze.bridge.angular.js breeze.directives.js
Read more here: http://breeze.github.io/doc-js/breeze-angular.html
I use DevExtreme and Breeze in an AngularJS app. It seems that in this case Breeze uses the Angular $q. $q does not implement the fail method, only catch.