You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2021/12/19 18:33:18 UTC

[royale-asjs] branch develop updated: minor change only: fixed typo

This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9ec99ce  minor change only: fixed typo
9ec99ce is described below

commit 9ec99ceff45b2374ff63c97bf5ce24bcbc91c8aa
Author: greg-dove <gr...@gmail.com>
AuthorDate: Mon Dec 20 07:33:07 2021 +1300

    minor change only: fixed typo
---
 .../src/main/royale/org/apache/royale/events/utils/EventUtils.as    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
index d504045..dce7df8 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
@@ -84,10 +84,10 @@ COMPILE::JS
          */
         public static function retrieveEvent(nativeEvent:Object):Object{
             if (nativeEvent['_RYL_ORIG']) {
-                var rlyEvt:goog.events.Event = nativeEvent['_RYL_ORIG'] as goog.events.Event;
+                var rylEvt:goog.events.Event = nativeEvent['_RYL_ORIG'] as goog.events.Event;
                 //retrieve it with the currentTarget updated
-                rlyEvt.currentTarget = getTargetWrapper(nativeEvent.currentTarget)
-                return rlyEvt;
+                rylEvt.currentTarget = getTargetWrapper(nativeEvent.currentTarget)
+                return rylEvt;
             }
             return nativeEvent;
         }