angular.js/test
Pete Bacon Darwin a644ca7b4e fix(resource): check whether response matches action.isArray
When using $resource you must setup your actions carefully based on what the server returns.
If the server responds to a request with an array then you must configure the action with
`isArray:true` and vice versa.  The built-in `get` action defaults to `isArray:false` and the
`query` action defaults to `isArray:true`, which is must be changed if the server does not do this.
Before the error message was an exception inside angular.copy, which didn't explain what the
real problem was. Rather than changing the way that angular.copy works, this change ensures that
a better error message is provided to the programmer if they do not set up their resource actions
correctly.

Closes #2255, #1044
2013-07-31 21:17:37 +01:00
..
auto fix($injector): refactor module loading code and use minErr 2013-07-02 11:05:30 -07:00
ng fix(isArrayLike) Correctly detect arrayLike items 2013-07-31 11:08:56 -07:00
ngAnimate fix($animate): make animation onComplete callbacks async 2013-07-26 23:49:54 -07:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMobile feat(ngMobile): emit 'swipeleft' and 'swiperight' events 2013-07-25 16:36:11 -07:00
ngMock feat(ngMock): $timeout.flushNext can expect specific timeout delays 2013-07-26 08:57:25 -07:00
ngResource fix(resource): check whether response matches action.isArray 2013-07-31 21:17:37 +01:00
ngRoute fix($animate): make animation onComplete callbacks async 2013-07-26 23:49:54 -07:00
ngSanitize fix(sanitize): match URI schemes case-insensitively 2013-07-12 09:29:21 +01:00
ngScenario fix(ngScenario): select().option(val) should prefer exact value match 2013-07-12 10:05:23 +01:00
AngularSpec.js fix(equals): {} and [] should not be considered equivalent 2013-07-24 10:58:56 -07:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js chore(minErr): replace ngError with minErr 2013-06-17 13:29:30 -07:00
jqLiteSpec.js fix(jqLite): prepend array in correct order 2013-07-02 23:24:51 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js fix($injector): improve $injector:nomod error message 2013-07-11 12:16:02 -07:00
matchers.js feat(ngAnimate): complete rewrite of animations 2013-07-26 23:49:54 -07:00
minErrSpec.js chore(minErr): replace ngError with minErr 2013-06-17 13:29:30 -07:00
testabilityPatch.js feat(ngAnimate): complete rewrite of animations 2013-07-26 23:49:54 -07:00