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/04 22:49:37 UTC
[36/36] 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/91ad0790
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/91ad0790
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/91ad0790
Branch: refs/heads/feature/mdl
Commit: 91ad07903de19a07c3445daa15e7daedf698576f
Parents: 88d9b14
Author: Carlos Rovira <ca...@apache.org>
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Fri Nov 4 23:48:31 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/91ad0790/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"/>