You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix small typo
* Add @returns documentation for pc.Controller#isPressed
* Remove duplicate [options.cache] param description from pc.Http methods
* Add @returns documentation for pc.SoundInstance#stop
* Make 'request' a property defined as a function once again
Copy file name to clipboardExpand all lines: src/net/http.js
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,6 @@ pc.extend(pc, function () {
62
62
* @param {Document | Object} [options.postdata] Data to send in the body of the request.
63
63
* Some content types are handled automatically, If postdata is an XML Document it is handled, if the Content-Type header is set to 'application/json' then
64
64
* the postdata is JSON stringified, otherwise by default the data is sent as form-urlencoded
65
-
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
66
65
* @param {Function} callback The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type, text, Object, ArrayBuffer, XML) and err is the error code.
67
66
* @example
68
67
* pc.http.get("http://example.com/", function (err, response) {
@@ -88,7 +87,6 @@ pc.extend(pc, function () {
88
87
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
89
88
* @param {Boolean} [options.withCredentials] Send cookies with this request (default: true)
90
89
* @param {String} [options.responseType] Override the response type
91
-
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
92
90
* @param {Object} data Data to send in the body of the request.
93
91
* Some content types are handled automatically, If postdata is an XML Document it is handled, if the Content-Type header is set to 'application/json' then
94
92
* the postdata is JSON stringified, otherwise by default the data is sent as form-urlencoded
@@ -114,7 +112,6 @@ pc.extend(pc, function () {
114
112
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
115
113
* @param {Boolean} [options.withCredentials] Send cookies with this request (default: true)
116
114
* @param {String} [options.responseType] Override the response type
117
-
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
118
115
* @param {Document | Object} data Data to send in the body of the request.
119
116
* Some content types are handled automatically, If postdata is an XML Document it is handled, if the Content-Type header is set to 'application/json' then
120
117
* the postdata is JSON stringified, otherwise by default the data is sent as form-urlencoded
@@ -143,7 +140,6 @@ pc.extend(pc, function () {
143
140
* @param {Document | Object} [options.postdata] Data to send in the body of the request.
144
141
* Some content types are handled automatically, If postdata is an XML Document it is handled, if the Content-Type header is set to 'application/json' then
145
142
* the postdata is JSON stringified, otherwise by default the data is sent as form-urlencoded
146
-
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
147
143
* @param {Function} callback The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type, text, Object, ArrayBuffer, XML) and err is the error code.
148
144
*/
149
145
del: function(url,options,callback){
@@ -169,7 +165,6 @@ pc.extend(pc, function () {
169
165
* @param {Document|Object} [options.postdata] Data to send in the body of the request.
170
166
* Some content types are handled automatically, If postdata is an XML Document it is handled, if the Content-Type header is set to 'application/json' then
171
167
* the postdata is JSON stringified, otherwise by default the data is sent as form-urlencoded
172
-
* @param {Object} [options.cache] If false, then add a timestamp to the request to prevent caching
173
168
* @param {Function} callback The callback used when the response has retured. Passed (err, data) where data is the response (format depends on response type, text, Object, ArrayBuffer, XML) and err is the error code.
0 commit comments