Comparing version 0.1.1 to 0.1.2
@@ -75,3 +75,4 @@ (function (root, factory) { | ||
win.cancelAnimationFrame | ||
|| win[annie.vendor + 'RequestAnimationFrame'] | ||
|| win.cancelRequestAnimationFrame | ||
|| win[annie.vendor + 'CancelAnimationFrame'] | ||
|| win[annie.vendor + 'CancelRequestAnimationFrame'] | ||
@@ -78,0 +79,0 @@ || clearTimeout |
@@ -1,1 +0,1 @@ | ||
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define([],b):a.annie=b()}(this,function(){"use strict";function a(a,b){return function(){a.apply(b,[].slice.call(arguments))}}function b(a,b){return(a.currentStyle||getComputedStyle(a))[b]}var c=document,d=navigator,e=window,f={};return f.ie=d.appVersion.search("MSIE")>-1?parseInt(d.appVersion.slice(22,26),10):!1,f.performance=!(!e.performance||!e.performance.now),f.vendor=function(){if(f.ie&&f.ie<9)return"ms";var a,b,d,e=" O ms Moz Webkit".split(" "),g=c.body.style;for(a=e.length;a--;)if(b=e[a],d=""!==b?b+"Transform":"transform",void 0!==g[d])return b}(),f.requestAnimationFrame=a(e.requestAnimationFrame||e[f.vendor+"RequestAnimationFrame"]||function(){var a=0;return function(b){var c=+new Date,d=Math.max(0,16-(c-a)),e=setTimeout(function(){b(c+d)},d);return a=c+d,e}}(),e),f.cancelAnimationFrame=a(e.cancelAnimationFrame||e[f.vendor+"RequestAnimationFrame"]||e[f.vendor+"CancelRequestAnimationFrame"]||clearTimeout,e),f.transform=function(){var a=f.vendor+"Transform";return void 0!==c.body.style[a]?a:void 0}(),f.supports3d=function(){var a=f.transform;if(!a)return!1;var d=c.body,e=c.createElement("p");e.style[a]="translate3d(1px,1px,1px)",d.appendChild(e);var g=b(e,a);return d.removeChild(e),void 0!==g&&"none"!==g&&g.length>0}(),f}); | ||
!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define([],b):a.annie=b()}(this,function(){"use strict";function a(a,b){return function(){a.apply(b,[].slice.call(arguments))}}function b(a,b){return(a.currentStyle||getComputedStyle(a))[b]}var c=document,d=navigator,e=window,f={};return f.ie=d.appVersion.search("MSIE")>-1?parseInt(d.appVersion.slice(22,26),10):!1,f.performance=!(!e.performance||!e.performance.now),f.vendor=function(){if(f.ie&&f.ie<9)return"ms";var a,b,d,e=" O ms Moz Webkit".split(" "),g=c.body.style;for(a=e.length;a--;)if(b=e[a],d=""!==b?b+"Transform":"transform",void 0!==g[d])return b}(),f.requestAnimationFrame=a(e.requestAnimationFrame||e[f.vendor+"RequestAnimationFrame"]||function(){var a=0;return function(b){var c=+new Date,d=Math.max(0,16-(c-a)),e=setTimeout(function(){b(c+d)},d);return a=c+d,e}}(),e),f.cancelAnimationFrame=a(e.cancelAnimationFrame||e.cancelRequestAnimationFrame||e[f.vendor+"CancelAnimationFrame"]||e[f.vendor+"CancelRequestAnimationFrame"]||clearTimeout,e),f.transform=function(){var a=f.vendor+"Transform";return void 0!==c.body.style[a]?a:void 0}(),f.supports3d=function(){var a=f.transform;if(!a)return!1;var d=c.body,e=c.createElement("p");e.style[a]="translate3d(1px,1px,1px)",d.appendChild(e);var g=b(e,a);return d.removeChild(e),void 0!==g&&"none"!==g&&g.length>0}(),f}); |
{ | ||
"name": "annie", | ||
"version": "0.1.1", | ||
"description": "A tiny (701 bytes gzipped) library for authoring cross-browser animations", | ||
"version": "0.1.2", | ||
"description": "A tiny (709 bytes gzipped) library for authoring cross-browser animations", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
# annie | ||
A tiny (701 bytes gzipped) library for authoring cross-browser animations. | ||
A tiny (709 bytes gzipped) library for authoring cross-browser animations. | ||
@@ -5,0 +5,0 @@ ## huh? |
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
10576
130