You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/06 07:39:44 UTC
[3/6] git commit: [flex-asjs] [refs/heads/develop] - add FlexJS
compiler options
add FlexJS compiler options
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/29da98a5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/29da98a5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/29da98a5
Branch: refs/heads/develop
Commit: 29da98a575df808efd30ea1fbe98b8ec297dab95
Parents: 1177c59
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 4 10:26:01 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Apr 5 22:20:47 2014 -0700
----------------------------------------------------------------------
frameworks/air-config.xml | 9 ++++++++-
frameworks/flex-config.xml | 39 +++++++++++++++++++++++----------------
2 files changed, 31 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29da98a5/frameworks/air-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/air-config.xml b/frameworks/air-config.xml
index 3df56ac..e73067b 100644
--- a/frameworks/air-config.xml
+++ b/frameworks/air-config.xml
@@ -81,7 +81,14 @@
<path-element>{airHome}/frameworks/libs/air</path-element>
</library-path>
- <namespaces>
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <namespaces>
<!-- Specify a URI to associate with a manifest of components for use as MXML -->
<!-- elements. -->
<namespace>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29da98a5/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config.xml b/frameworks/flex-config.xml
index c002d08..b89c7c2 100644
--- a/frameworks/flex-config.xml
+++ b/frameworks/flex-config.xml
@@ -21,21 +21,21 @@
<flex-config>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.1</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>14</swf-version>
+ <!-- Specifies the minimum player version that will run the compiled SWF. -->
+ <target-player>11.1</target-player>
+
+ <!-- Specifies the version of the compiled SWF -->
+ <swf-version>14</swf-version>
<compiler>
<!-- Turn on generation of accessible SWFs. -->
<accessible>true</accessible>
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>en_US</locale-element>
- </locale>
+ <!-- Specifies the locales for internationalization. -->
+ <locale>
+ <locale-element>en_US</locale-element>
+ </locale>
<!-- List of path elements that form the roots of ActionScript class hierarchies. -->
<!-- not set -->
@@ -78,23 +78,30 @@
<!-- List of SWC files or directories that contain SWC files. -->
<library-path>
- <path-element>as/libs</path-element>
+ <path-element>as/libs</path-element>
<path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
</library-path>
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
<namespaces>
<!-- Specify a URI to associate with a manifest of components for use as MXML -->
<!-- elements. -->
<namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>as/projects/FlexJSUI/basic-manifest.xml</manifest>
+ <manifest>as/projects/FlexJSUI/basic-manifest.xml</manifest>
</namespace>
<namespace>
- <uri>library://ns.apache.org/flexjs/html5</uri>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
- <manifest>as/projects/FlexJSUI/html5-manifest.xml</manifest>
+ <manifest>as/projects/FlexJSUI/html5-manifest.xml</manifest>
</namespace>
<namespace>
@@ -207,8 +214,8 @@
<local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
-->
- </fonts>
-
+ </fonts>
+
<!-- Array.toString() format has changed. -->
<warn-array-tostring-changes>false</warn-array-tostring-changes>