flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [16/37] git commit: [flex-asjs] [refs/heads/spark] - add 'running' property
Date Thu, 24 Mar 2016 19:59:37 GMT
add 'running' property


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8471985f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8471985f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8471985f

Branch: refs/heads/spark
Commit: 8471985f0e2389713d70b34c19278d67454fd80d
Parents: 8b5fdc1
Author: Alex Harui <aharui@apache.org>
Authored: Sat Feb 27 23:14:16 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Sat Feb 27 23:14:16 2016 -0800

----------------------------------------------------------------------
 .../projects/Core/src/main/flex/org/apache/flex/utils/Timer.as | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8471985f/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Timer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Timer.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Timer.as
index 582d884..ad14f3e 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Timer.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Timer.as
@@ -111,7 +111,11 @@ public class Timer extends EventDispatcher
     
     public var delay:Number;
     public var repeatCount:int;
-    
+    public function get running():Boolean
+	{
+		return timerInterval != -1;
+	}
+	
     private var currentCount:int = 0;
     
     private var timerInterval:int = -1;


Mime
View raw message