Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Partial backout of 99b9d0d (for regression in Canabalt)

  • Loading branch information...
commit b52d3348500419fb8d0e0b1b096e2fd80fc582f2 1 parent fa71829
@yurydelendik yurydelendik authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/flash/stubs.js
View
4 src/flash/stubs.js
@@ -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;
};
};
Please sign in to comment.
Something went wrong with that request. Please try again.