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 2017/05/30 19:47:55 UTC
[20/50] git commit: [flex-asjs] [refs/heads/tlf] - - Bring back
compilation for JS - Add import for MyModel to see if it helps
- Bring back compilation for JS
- Add import for MyModel to see if it helps
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ae2a0d8d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ae2a0d8d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ae2a0d8d
Branch: refs/heads/tlf
Commit: ae2a0d8dcee9835596fe13d024cf4b7f90e26b46
Parents: 5bdf388
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 00:40:18 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 00:40:18 2017 +0200
----------------------------------------------------------------------
examples/express/DataBindingExample/pom.xml | 2 +-
.../DataBindingExample/src/main/flex/DataBindingExample.mxml | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ae2a0d8d/examples/express/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index cda898b..38082f0 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -42,7 +42,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>DataBindingExample.mxml</mainClass>
- <targets>SWF</targets>
+ <targets>SWF,JSFlex</targets>
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ae2a0d8d/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
index dd9344e..73cb453 100644
--- a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
@@ -22,8 +22,7 @@ limitations under the License.
xmlns:js="library://ns.apache.org/flexjs/express"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
- initialize="MyModel(model).stockSymbol='ADBE'"
- >
+ initialize="MyModel(model).stockSymbol='ADBE'">
<js:initialView>
<local:MyInitialView />
</js:initialView>
@@ -47,4 +46,7 @@ limitations under the License.
<js:CSSFontFaceBead />
<js:ViewSourceContextMenuOption />
</js:beads>
+ <fx:Script><![CDATA[
+ import models.MyModel;
+ ]]></fx:Script>
</js:Application>