Remove Curl class from CurlBuilder.

This commit is contained in:
Miao Jiang 2013-02-19 21:03:13 +08:00
parent ccfb0d4595
commit decb16d790
3 changed files with 1 additions and 3 deletions

View file

@ -35,7 +35,6 @@
curl = function() {
return curl.perform.apply(curl, arguments);
};
curl.Curl = Curl;
curl.perform = function() {
var args, c, cb, k, length, v, _ref, _ref1, _ref2, _ref3, _ref4;
args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];

View file

@ -16,7 +16,6 @@ class CurlBuilder
curl = ->
curl.perform.apply curl, arguments
curl.Curl = Curl
curl.perform = (args...) ->
if @running
throw new Error 'the cURL session is busy, use curl.create to create another cURL Session'