You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/03/26 00:21:34 UTC

[royale-asjs] branch develop updated: Revert "jewel-validator: remove local var declaration"

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

carlosrovira 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 adf8110  Revert "jewel-validator: remove local var declaration"
adf8110 is described below

commit adf8110fe6317212f714fbd4b86b6dd7e3b9d8c5
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Mar 26 01:12:14 2019 +0100

    Revert "jewel-validator: remove local var declaration"
    
    This reverts commit dffb686cc7cab5dc6391f49dfffad65598c00fe1.
---
 .../main/royale/org/apache/royale/jewel/beads/validators/Validator.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/Validator.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/Validator.as
index 60f1089..78d08d0 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/Validator.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/Validator.as
@@ -428,7 +428,7 @@ package org.apache.royale.jewel.beads.validators
 			// remove a previous arrow position
 			_errorTip.removeClass(arrowclass);
 
-			arrowclass = "";
+			var arrowclass:String = "";
 			if (_xPos == LEFT) {
 				xFactor = Number.POSITIVE_INFINITY;
 				arrowclass = "left-";