diff options
author | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
---|---|---|
committer | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
commit | 58a2577d48790c79adfd44bcfd662c980ce6cfe4 (patch) | |
tree | 523d814ea0b7b6f617fe515b186099c6e83fed72 /lib/dojo/request.js.uncompressed.js | |
parent | e470a273cf09562fb2f9c0c899002303f19c8d16 (diff) | |
parent | cc332603431102a682feda22b9cf0093a29f0176 (diff) |
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git
Diffstat (limited to 'lib/dojo/request.js.uncompressed.js')
-rw-r--r-- | lib/dojo/request.js.uncompressed.js | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/lib/dojo/request.js.uncompressed.js b/lib/dojo/request.js.uncompressed.js deleted file mode 100644 index 75e42bd6c..000000000 --- a/lib/dojo/request.js.uncompressed.js +++ /dev/null @@ -1,81 +0,0 @@ -define("dojo/request", [ - './request/default!'/*=====, - './_base/declare', - './promise/Promise' =====*/ -], function(request/*=====, declare, Promise =====*/){ - /*===== - request = function(url, options){ - // summary: - // Send a request using the default transport for the current platform. - // url: String - // The URL to request. - // options: dojo/request.__Options? - // Options for the request. - // returns: dojo/request.__Promise - }; - request.__Promise = declare(Promise, { - // response: dojo/promise/Promise - // A promise resolving to an object representing - // the response from the server. - }); - request.__BaseOptions = declare(null, { - // query: String|Object? - // Query parameters to append to the URL. - // data: String|Object? - // Data to transfer. This is ignored for GET and DELETE - // requests. - // preventCache: Boolean? - // Whether to append a cache-busting parameter to the URL. - // timeout: Integer? - // Milliseconds to wait for the response. If this time - // passes, the then the promise is rejected. - // handleAs: String? - // How to handle the response from the server. Default is - // 'text'. Other values are 'json', 'javascript', and 'xml'. - }); - request.__MethodOptions = declare(null, { - // method: String? - // The HTTP method to use to make the request. Must be - // uppercase. - }); - request.__Options = declare([request.__BaseOptions, request.__MethodOptions]); - - request.get = function(url, options){ - // summary: - // Send an HTTP GET request using the default transport for the current platform. - // url: String - // URL to request - // options: dojo/request.__BaseOptions? - // Options for the request. - // returns: dojo/request.__Promise - }; - request.post = function(url, options){ - // summary: - // Send an HTTP POST request using the default transport for the current platform. - // url: String - // URL to request - // options: dojo/request.__BaseOptions? - // Options for the request. - // returns: dojo/request.__Promise - }; - request.put = function(url, options){ - // summary: - // Send an HTTP POST request using the default transport for the current platform. - // url: String - // URL to request - // options: dojo/request.__BaseOptions? - // Options for the request. - // returns: dojo/request.__Promise - }; - request.del = function(url, options){ - // summary: - // Send an HTTP DELETE request using the default transport for the current platform. - // url: String - // URL to request - // options: dojo/request.__BaseOptions? - // Options for the request. - // returns: dojo/request.__Promise - }; - =====*/ - return request; -}); |