flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [15/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added isNaN check because minified version seems to sometimes be NaN Added debug=false to output minified code as well in test
Date Wed, 04 May 2016 18:14:01 GMT
Added isNaN check because minified version seems to sometimes be NaN
Added debug=false to output minified code as well in test


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

Branch: refs/heads/spark
Commit: cf8933e1df60313738c956cdab4d092a3cc102a1
Parents: 7c5a215
Author: Harbs <harbs@in-tools.com>
Authored: Fri Apr 15 10:19:46 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Fri Apr 15 10:19:46 2016 +0300

----------------------------------------------------------------------
 frameworks/projects/XML/src/main/flex/XML.as | 2 +-
 manualtests/build_example.xml                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf8933e1/frameworks/projects/XML/src/main/flex/XML.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XML.as b/frameworks/projects/XML/src/main/flex/XML.as
index d3ab421..0577abb 100644
--- a/frameworks/projects/XML/src/main/flex/XML.as
+++ b/frameworks/projects/XML/src/main/flex/XML.as
@@ -2243,7 +2243,7 @@ package
 			var i:int;
 			var ns:Namespace;
 			var strArr:Array = [];
-
+			indentLevel = isNaN(indentLevel) ? 0 : indentLevel;
 			var indentArr:Array = [];
 			for(i=0;i<indentLevel;i++)
 				indentArr.push(_indentStr);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf8933e1/manualtests/build_example.xml
----------------------------------------------------------------------
diff --git a/manualtests/build_example.xml b/manualtests/build_example.xml
index 8debcd6..45714d1 100644
--- a/manualtests/build_example.xml
+++ b/manualtests/build_example.xml
@@ -160,7 +160,7 @@
             <jvmarg line="${mxmlc.jvm.args}"/>
             <jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
             <arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
-            <arg value="-debug" />
+            <arg value="-debug=false" />
             <arg value="${theme_arg}" />
             <arg value="-compiler.mxml.children-as-data" />
             <arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent"
/>


Mime
View raw message