Comparing version 2.0.3 to 2.0.4
@@ -7,3 +7,3 @@ var now = require('performance-now') | ||
, caf = global['cancel' + suffix] || global['cancelRequest' + suffix] | ||
, native = true | ||
, isNative = true | ||
@@ -18,3 +18,3 @@ for(var i = 0; i < vendors.length && !raf; i++) { | ||
if(!raf || !caf) { | ||
native = false | ||
isNative = false | ||
@@ -69,3 +69,3 @@ var last = 0 | ||
// to the native rAF function | ||
if(!native) { | ||
if(!isNative) { | ||
return raf.call(global, fn) | ||
@@ -72,0 +72,0 @@ } |
{ | ||
"name": "raf", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "requestAnimationFrame polyfill for node and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.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
5488