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/09/15 05:21:02 UTC

[royale-asjs] branch develop updated: I think all the recent changes to Event need review/discussion. For this commit it should fix a Google Closure strict mode error (arguments cannot be redeclared)

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 458422f  I think all the recent changes to Event need review/discussion. For this commit it should fix a Google Closure strict mode error (arguments cannot be redeclared)
458422f is described below

commit 458422fda1652198b03a4e03ae39117ba519e7df
Author: greg-dove <gr...@gmail.com>
AuthorDate: Wed Sep 15 17:20:25 2021 +1200

    I think all the recent changes to Event need review/discussion.
    For this commit it should fix a Google Closure strict mode error (arguments cannot be redeclared)
---
 .../projects/Core/src/main/royale/org/apache/royale/events/Event.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/Event.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/Event.as
index 19907d7..8e1d3b4 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/Event.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/Event.as
@@ -244,8 +244,8 @@ package org.apache.royale.events
 		}
 		
 		COMPILE::JS {
-			public function formatToString(className:String, ... arguments):String {
-				 for each (var s:String in arguments)
+			public function formatToString(className:String, ...args):String {
+				 for each (var s:String in args)
 					className += " " + s;
 			  
 				return className;