Comparing version 0.2.0 to 0.2.1
15
jymin.js
/** | ||
* _ _ ___ _ _ _____ | ||
* | |_ _ _ __ ___ (_)_ __ __ __/ _ \ / | / |___ / | ||
* _ | | | | | '_ ` _ \| | '_ \ \ \ / / | | || | | | |_ \ | ||
* | |_| | |_| | | | | | | | | | | \ V /| |_| || |_| |___) | | ||
* \___/ \__, |_| |_| |_|_|_| |_| \_/ \___(_)_(_)_|____/ | ||
* _ _ ___ ____ ___ | ||
* | |_ _ _ __ ___ (_)_ __ __ __/ _ \ |___ \ / _ \ | ||
* _ | | | | | '_ ` _ \| | '_ \ \ \ / / | | | __) || | | | | ||
* | |_| | |_| | | | | | | | | | | \ V /| |_| | / __/ | |_| | | ||
* \___/ \__, |_| |_| |_|_|_| |_| \_/ \___(_)_____(_)___/ | ||
* |___/ | ||
@@ -33,3 +33,3 @@ * | ||
this.jymin = {version: '0.1.13'}; | ||
this.jymin = {version: '0.2.0'}; | ||
@@ -115,6 +115,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); | ||
}; | ||
@@ -121,0 +122,0 @@ var DEFAULT_ANIMATION_FRAME_COUNT = 40; |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "chug/chug.js", | ||
@@ -18,0 +18,0 @@ "homepage": "http://lighter.io/jymin", |
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
90061
3284