aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngResource/resource.js
diff options
context:
space:
mode:
authorIgor Minar2014-02-18 03:04:42 -0800
committerIgor Minar2014-02-18 10:44:48 -0800
commit481508d0e7ae9e4984ea380b9a43e589551c7a5b (patch)
tree2df21cbd83152c5e504cdc7f3b579b25bdc9fadb /src/ngResource/resource.js
parent12e4d3ac4da3e7ea8d9be49764dbbc091a345bf7 (diff)
downloadangular.js-481508d0e7ae9e4984ea380b9a43e589551c7a5b.tar.bz2
style: remove ws and enfore no-trailing-ws jscs rule
Diffstat (limited to 'src/ngResource/resource.js')
-rw-r--r--src/ngResource/resource.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js
index 98619918..2074d942 100644
--- a/src/ngResource/resource.js
+++ b/src/ngResource/resource.js
@@ -152,7 +152,7 @@ function shallowClearAndCopy(src, dst) {
* 'remove': {method:'DELETE'},
* 'delete': {method:'DELETE'} };
* ```
- *
+ *
* Calling these methods invoke an {@link ng.$http} with the specified http method,
* destination and parameters. When the data is returned from the server then the object is an
* instance of the resource class. The actions `save`, `remove` and `delete` are available on it
@@ -281,7 +281,7 @@ function shallowClearAndCopy(src, dst) {
* var app = angular.module('app', ['ngResource', 'ngRoute']);
*
* // Some APIs expect a PUT request in the format URL/object/ID
- * // Here we are creating an 'update' method
+ * // Here we are creating an 'update' method
* app.factory('Notes', ['$resource', function($resource) {
* return $resource('/notes/:id', null,
* {