Comparing version 0.1.13 to 0.2.0
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.1.13", | ||
"version": "0.2.0", | ||
"main": "chug/chug.js", | ||
@@ -18,0 +18,0 @@ "homepage": "http://lighter.io/jymin", |
@@ -80,6 +80,7 @@ /** | ||
url, // string: The URL to request data from. | ||
data, // object|: Data to post. The method is automagically "POST" if data is truey, otherwise "GET". | ||
onSuccess, // function|: Callback to run on success. `onSuccess(response, request)`. | ||
onFailure // function|: Callback to run on failure. `onFailure(response, request)`. | ||
) { | ||
return getResponse(url, onSuccess, onFailure, true); | ||
return getResponse(url, data, onSuccess, onFailure, true); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89940
3283