summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilson Page <wilsonpage@me.com>2014-08-07 14:00:04 +0100
committerWilson Page <wilsonpage@me.com>2014-08-07 14:00:04 +0100
commit91fc812e7ca7725328652ad3b6e503eddb7e466b (patch)
treedbe4d81a89c6605095badde07516ebba8cd9b293
parentc7c66fcbb34689c71cba91e1cbe11bfd422a0103 (diff)
parent70e31ab8d223fbf341ce4016f9b2ce7f8885df11 (diff)
downloadfastdom-91fc812e7ca7725328652ad3b6e503eddb7e466b.zip
fastdom-91fc812e7ca7725328652ad3b6e503eddb7e466b.tar.gz
fastdom-91fc812e7ca7725328652ad3b6e503eddb7e466b.tar.bz2
Merge pull request #46 from rburgt/patch-1
Removed superfluous cancelAnimationFrame definition
-rw-r--r--index.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/index.js b/index.js
index 648f774..c9cc7c8 100644
--- a/index.js
+++ b/index.js
@@ -19,17 +19,6 @@
|| window.msRequestAnimationFrame
|| function(cb) { return window.setTimeout(cb, 1000 / 60); };
- // Normalize cAF
- var caf = window.cancelAnimationFrame
- || window.cancelRequestAnimationFrame
- || window.mozCancelAnimationFrame
- || window.mozCancelRequestAnimationFrame
- || window.webkitCancelAnimationFrame
- || window.webkitCancelRequestAnimationFrame
- || window.msCancelAnimationFrame
- || window.msCancelRequestAnimationFrame
- || function(id) { window.clearTimeout(id); };
-
/**
* Creates a fresh
* FastDom instance.