Clean Timer.hx (close #700)

Just clean the methods that do not seem to be used by current lime

(tested with lime NOT legacy on flash, neko, cpp)
(not tested with openfl, but if used by this lib, should not be implemented here anyhow)
This commit is contained in:
kiroukou
2016-03-04 10:17:18 +01:00
committed by Joshua Granick
parent 629c14c9e6
commit 08b0a3c165

View File

@@ -1,5 +1,5 @@
package haxe;
#if (!neko && !cpp && !nodejs && !cs)
#if !lime_cffi
// Original haxe.Timer class
@@ -299,35 +299,6 @@ class Timer {
}
@:noCompletion @:dox(hide) public static function __checkTimers () {
var now = getMS ();
var foundNull = false;
var timer;
for (i in 0...sRunningTimers.length) {
timer = sRunningTimers[i];
if (timer != null) {
timer.__check (now);
}
foundNull = (foundNull || sRunningTimers[i] == null);
}
if (foundNull) {
sRunningTimers = sRunningTimers.filter (function (val) { return val != null; });
}
}
}