flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [36/36] git commit: [flex-asjs] [refs/heads/feature/mdl] - Update example to new js html tags
Date Fri, 04 Nov 2016 23:19:28 GMT
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/cf461274
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cf461274
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cf461274

Branch: refs/heads/feature/mdl
Commit: cf461274d8244b0b7bcc485484a25aa29d8a4c5c
Parents: 5740849
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Sat Nov 5 00:18:33 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/cf461274/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"/>


Mime
View raw message