vendor/assets/javascripts/angular-resource.js in angularjs-rails-1.4.0 vs vendor/assets/javascripts/angular-resource.js in angularjs-rails-1.4.2

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.4.0 + * @license AngularJS v1.4.2 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -212,10 +212,11 @@ * - HTTP GET "class" actions: `Resource.action([parameters], [success], [error])` * - non-GET "class" actions: `Resource.action([parameters], postData, [success], [error])` * - non-GET instance actions: `instance.$action([parameters], [success], [error])` * * - * Success callback is called with (value, responseHeaders) arguments. Error callback is called + * Success callback is called with (value, responseHeaders) arguments, where the value is + * the populated resource instance or collection object. The error callback is called * with (httpResponse) argument. * * Class actions return empty instance (with additional properties below). * Instance actions return promise of the action. *