countup.js
Advanced tools
Comparing version 0.1.0 to 0.1.1
/* | ||
countUp.js | ||
by @inorganik | ||
by @hamedb89 | ||
@@ -15,4 +15,3 @@ */ | ||
function countUp(target, startVal, endVal, decimals, duration, options) { | ||
module.exports = function(target, startVal, endVal, decimals, duration, options) { | ||
// make sure requestAnimationFrame and cancelAnimationFrame are defined | ||
@@ -181,6 +180,4 @@ // polyfill for browsers without native support | ||
self.printValue(self.startVal); | ||
} | ||
}; | ||
exports.countUp = countUp; | ||
// Example: | ||
@@ -187,0 +184,0 @@ // var numAnim = new countUp("SomeElementYouWantToAnimate", 0, 99.99, 2, 2.5); |
@@ -5,3 +5,3 @@ { | ||
"description": "", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "https://github.com/hamedb89/countUp.js" |
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
19200
5
407