This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 1dbee4e72ab9a0f83715fbbb7c56fe0fca7d0fa0 Author: Alex Harui <[email protected]> AuthorDate: Wed Aug 14 15:38:39 2019 -0700 set the return type to Number because JS returns a number --- .../Core/src/main/royale/org/apache/royale/core/IEffectTimer.as | 2 +- .../Core/src/main/royale/org/apache/royale/utils/EffectTimer.as | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IEffectTimer.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IEffectTimer.as index 8a9d261..0068802 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IEffectTimer.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IEffectTimer.as @@ -46,7 +46,7 @@ package org.apache.royale.core * @playerversion AIR 2.6 * @productversion Royale 0.0 */ - function start():int; + function start():Number; /** * Stop getting update events. Current time diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/EffectTimer.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/EffectTimer.as index 7a73dec..7aefdc0 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/EffectTimer.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/EffectTimer.as @@ -90,7 +90,7 @@ public class EffectTimer extends EventDispatcher implements IEffectTimer COMPILE::JS private var timerInterval:Number = -1; - public function start():int + public function start():Number { COMPILE::SWF {
