flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [09/50] git commit: [flex-asjs] [refs/heads/develop] - Update example to new js html tags
Date Thu, 10 Nov 2016 08:49:04 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/37286bce
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/37286bce
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/37286bce

Branch: refs/heads/develop
Commit: 37286bce393209aa668e08f505cdb1fb1d11f507
Parents: daf1fe6
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Sun Nov 6 13:15:38 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/37286bce/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