You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/01/06 19:15:08 UTC
git commit: [flex-asjs] [refs/heads/develop] - Changed
express/DataBindingExample to use js namespace prefix.
Repository: flex-asjs
Updated Branches:
refs/heads/develop 4063ea4ef -> dea50c795
Changed express/DataBindingExample to use js namespace prefix.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dea50c79
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dea50c79
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dea50c79
Branch: refs/heads/develop
Commit: dea50c795b3865d34204f25bc987a6d678304c19
Parents: 4063ea4
Author: Peter Ent <pe...@apache.org>
Authored: Fri Jan 6 14:15:06 2017 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Fri Jan 6 14:15:06 2017 -0500
----------------------------------------------------------------------
.../src/main/flex/DataBindingExample.mxml | 7 +++----
.../DataBindingExample/src/main/flex/MyInitialView.mxml | 9 ++++-----
2 files changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dea50c79/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 930bf47..dd9344e 100644
--- a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
@@ -17,10 +17,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<express:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:express="library://ns.apache.org/flexjs/express"
- xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/express"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
initialize="MyModel(model).stockSymbol='ADBE'"
@@ -48,4 +47,4 @@ limitations under the License.
<js:CSSFontFaceBead />
<js:ViewSourceContextMenuOption />
</js:beads>
-</express:Application>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dea50c79/examples/express/DataBindingExample/src/main/flex/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/MyInitialView.mxml b/examples/express/DataBindingExample/src/main/flex/MyInitialView.mxml
index 3622eea..a1ea2e4 100644
--- a/examples/express/DataBindingExample/src/main/flex/MyInitialView.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/MyInitialView.mxml
@@ -17,9 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<express:VView xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:express="library://ns.apache.org/flexjs/express"
- xmlns:js="library://ns.apache.org/flexjs/basic"
+<js:VView xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/express"
initComplete="initControls()">
<fx:Script>
<![CDATA[
@@ -106,7 +105,7 @@ limitations under the License.
<js:Label width="300" text="Enter Stock Symbol or choose from list:" />
<js:HContainer>
<js:VContainer className="leftSide">
- <express:TextInput id="symbolTI" text="{MyModel(applicationModel).stockSymbol}" prompt="symbol" />
+ <js:TextInput id="symbolTI" text="{MyModel(applicationModel).stockSymbol}" prompt="symbol" />
<js:TextButton text="Get Quote" className="quoteButton"
click="_symbol = symbolTI.text; dispatchEvent(new CustomEvent('buttonClicked'))" />
<js:Label id="field" text="{fieldText}"/>
@@ -127,4 +126,4 @@ limitations under the License.
includeIn="showAll"
text="{MyModel(applicationModel).allData}" />
</js:VContainer>
-</express:VView>
+</js:VView>