From 7cc7910df63d19e7ebc67bb1156437f0559712d7 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 12:25:47 +0200 Subject: add foundation via bower --- .../modernizr/feature-detects/requestanimationframe.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 source/bower_components/modernizr/feature-detects/requestanimationframe.js (limited to 'source/bower_components/modernizr/feature-detects/requestanimationframe.js') diff --git a/source/bower_components/modernizr/feature-detects/requestanimationframe.js b/source/bower_components/modernizr/feature-detects/requestanimationframe.js new file mode 100644 index 0000000..5ac4bcf --- /dev/null +++ b/source/bower_components/modernizr/feature-detects/requestanimationframe.js @@ -0,0 +1,7 @@ + +// requestAnimationFrame +// Offload animation repainting to browser for optimized performance. +// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html +// By Addy Osmani + +Modernizr.addTest('raf', !!Modernizr.prefixed('requestAnimationFrame', window)); \ No newline at end of file -- cgit v1.2.1