Permalink
Browse files

Partial backout of 99b9d0d (for regression in Canabalt)

  • Loading branch information...
1 parent fa71829 commit b52d3348500419fb8d0e0b1b096e2fd80fc582f2 @yurydelendik yurydelendik committed Mar 7, 2014
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/flash/stubs.js
View
@@ -325,10 +325,8 @@ natives['FlashUtilScript::getDefinitionByName'] = natives.getDefinitionByName;
natives['FlashUtilScript::getTimer'] = function GetTimerMethod(domain, scope, instanceConstructor, baseClass) {
var start = Date.now();
- var time = 0;
return function getTimer() {
- // return Date.now() - start;
- return time += 0.01;
+ return Date.now() - start;
};
};

0 comments on commit b52d334

Please sign in to comment.