animated-transition-group
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -47,3 +47,5 @@ 'use strict'; | ||
function setTimeoutAnimationFrame(func, ms) { | ||
function setTimeoutAnimationFrame(func) { | ||
var ms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; | ||
var callback = func; | ||
@@ -54,3 +56,3 @@ if (typeof callback !== 'function') return; | ||
requestAnimationFrame(callback); | ||
}, ms); | ||
}, ms + 17); | ||
} |
{ | ||
"name": "animated-transition-group", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "like `<ReactTransitionGroup />` + callbacks, extras and child-specific customization", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
249062
346