You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of angular.forEach() does not enumerate properties defined as Object.defineProperty(object_prototype,...{get:... set:...}), restangular.get() misses such properties, despite of the object overrides toJSON().
I think, that restangular.js @791angular.forEach(value, function(v) { must looks like angular.forEach(value.toJSON(), function(v) { to mimic the same way as restangulat.post() does
The text was updated successfully, but these errors were encountered:
Because of
angular.forEach()
does not enumerate properties defined asObject.defineProperty(object_prototype,...{get:... set:...})
,restangular.get()
misses such properties, despite of the object overridestoJSON()
.I think, that restangular.js @791
angular.forEach(value, function(v) {
must looks likeangular.forEach(value.toJSON(), function(v) {
to mimic the same way asrestangulat.post()
doesThe text was updated successfully, but these errors were encountered: