You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2016/11/06 01:30:53 UTC
[37/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - Update
example to new js html tags
Update example to new js html tags
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2bc21a44
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2bc21a44
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2bc21a44
Branch: refs/heads/feature/mdl
Commit: 2bc21a44fd907e07db097b2f46dc8c00ac60eb40
Parents: 2a8b179
Author: Carlos Rovira <ca...@apache.org>
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sun Nov 6 02:28:52 2016 +0100
----------------------------------------------------------------------
examples/flexjs/MDLExample/src/main/flex/App.mxml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2bc21a44/examples/flexjs/MDLExample/src/main/flex/App.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index df452e6..34aacb8 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,17 @@ limitations under the License.
<mdl:Slider minimum="0" maximum="10" value="2" stepSize="2" width="200"/>
<js:VContainer>
- <js:Anchor text="This is a Badge" href="http://flex.apache.org">
+ <js:A text="This is a Badge" href="http://flex.apache.org">
<js:beads>
<mdl:Badge dataBadge="5" overlap="true" noBackground="true"/>
</js:beads>
- </js:Anchor>
+ </js:A>
- <js:Anchor id="badge1" text="Loving this." href="http://flex.apache.org">
+ <js:A id="badge1" text="Loving this." href="http://flex.apache.org">
<js:beads>
<mdl:Badge dataBadge="1"/>
</js:beads>
- </js:Anchor>
+ </js:A>
</js:VContainer>
<mdl:Card width="512">
@@ -127,7 +127,7 @@ limitations under the License.
<mdl:CardEffect shadow="2"/>
</js:beads>
<mdl:CardTitle style="color: #666;height: 176px; background-image: url('../../../../src/main/resources/Unknown.jpeg') center / cover;">
- <js:Label text="Welcome" className="mdl-card__title-text"/>
+ <js:H2 text="Welcome" className="mdl-card__title-text"/>
</mdl:CardTitle>
<mdl:CardMedia>
<js:Image url="../../../../src/main/resources/Unknown.jpg" height="176"/>