Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Remove $http.patch reference #9180

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/ng/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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');

/**
Expand Down