Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 5bdf38896 -> ae2a0d8dc


- 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/release0.8.0
Commit: ae2a0d8dcee9835596fe13d024cf4b7f90e26b46
Parents: 5bdf388
Author: piotrz <pio...@apache.org>
Authored: Thu May 25 00:40:18 2017 +0200
Committer: piotrz <pio...@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>

Reply via email to