You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/05/24 22:57:52 UTC
git commit: [flex-asjs] [refs/heads/release0.8.0] - - Try to add
Effects to Express module - Make method for event initialize in Exspress
DataBindingExample
Repository: flex-asjs
Updated Branches:
refs/heads/release0.8.0 ae2a0d8dc -> 020e0ec5d
- Try to add Effects to Express module
- Make method for event initialize in Exspress DataBindingExample
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/020e0ec5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/020e0ec5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/020e0ec5
Branch: refs/heads/release0.8.0
Commit: 020e0ec5df3cd490885ad94de600697b69071739
Parents: ae2a0d8
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 00:57:47 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 00:57:47 2017 +0200
----------------------------------------------------------------------
.../src/main/flex/DataBindingExample.mxml | 7 ++++++-
.../src/main/flex/controllers/MyController.as | 2 +-
examples/express/pom.xml | 13 -------------
frameworks/projects/Express/pom.xml | 13 +++++++++++++
4 files changed, 20 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/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 73cb453..a9b4783 100644
--- a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
@@ -22,7 +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="onAppInitialize(event)">
<js:initialView>
<local:MyInitialView />
</js:initialView>
@@ -48,5 +48,10 @@ limitations under the License.
</js:beads>
<fx:Script><![CDATA[
import models.MyModel;
+
+ private function onAppInitialize(event:Event):void
+ {
+ MyModel(model).stockSymbol='ADBE';
+ }
]]></fx:Script>
</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as b/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
index 6487908..6f952ed 100644
--- a/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
+++ b/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
@@ -18,7 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
package controllers
{
- import org.apache.flex.events.Event;
+ import org.apache.flex.events.Event;
import org.apache.flex.core.Application;
import org.apache.flex.core.IDocument;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/examples/express/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 151a212..70ca739 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -83,19 +83,6 @@
<type>swc</type>
<classifier>js</classifier>
</dependency>
- <dependency>
- <groupId>org.apache.flex.flexjs.framework</groupId>
- <artifactId>Effects</artifactId>
- <version>0.8.0-SNAPSHOT</version>
- <type>swc</type>
- </dependency>
- <dependency>
- <groupId>org.apache.flex.flexjs.framework</groupId>
- <artifactId>Effects</artifactId>
- <version>0.8.0-SNAPSHOT</version>
- <type>swc</type>
- <classifier>js</classifier>
- </dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Language</artifactId>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/frameworks/projects/Express/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Express/pom.xml b/frameworks/projects/Express/pom.xml
index 2cc358f..3615249 100644
--- a/frameworks/projects/Express/pom.xml
+++ b/frameworks/projects/Express/pom.xml
@@ -139,6 +139,19 @@
<type>swc</type>
<classifier>js</classifier>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Effects</artifactId>
+ <version>0.8.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Effects</artifactId>
+ <version>0.8.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>js</classifier>
+ </dependency>
</dependencies>
</project>