From a1926dfaa6a68b8e41b8b739704953bb7a49877f Mon Sep 17 00:00:00 2001 From: Alexandre Mello Date: Fri, 19 Sep 2014 15:44:24 -0300 Subject: [PATCH] Remove $http.patch reference There is no $http.patch method. Removed references. --- src/ng/http.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ng/http.js b/src/ng/http.js index 406409e1fb3c..be619381e535 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -276,7 +276,6 @@ function $HttpProvider() { * - {@link ng.$http#put $http.put} * - {@link ng.$http#delete $http.delete} * - {@link ng.$http#jsonp $http.jsonp} - * - {@link ng.$http#patch $http.patch} * * * ## Setting HTTP Headers @@ -878,18 +877,6 @@ function $HttpProvider() { * @returns {HttpPromise} Future object */ - /** - * @ngdoc method - * @name $http#patch - * - * @description - * Shortcut method to perform `PATCH` request. - * - * @param {string} url Relative or absolute URL specifying the destination of the request - * @param {*} data Request content - * @param {Object=} config Optional configuration object - * @returns {HttpPromise} Future object - */ createShortMethodsWithData('post', 'put', 'patch'); /**