Skip to content

Commit

Permalink
tweak syntax to make life easier for analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Miles committed May 2, 2012
1 parent f5bb327 commit 69148d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/kernel/animation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(function() {
var ms = Math.round(1000/60);
var prefix = ["webkit", "moz", "ms", "o", ""];
var r = "requestAnimationFrame", c = "cancel" + enyo.cap(r);
var r = "requestAnimationFrame";
var c = "cancel" + enyo.cap(r);
// fallback on setTimeout and clearTimeout
var _requestFrame = function(inCallback) {
return window.setTimeout(inCallback, ms);
Expand Down

0 comments on commit 69148d2

Please sign in to comment.