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 2017/01/14 18:10:53 UTC

git commit: [flex-asjs] [refs/heads/develop] - Some minor changes and clean up in MDLExample

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 40b2330f9 -> 443d8e4de


Some minor changes and clean up in MDLExample


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/443d8e4d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/443d8e4d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/443d8e4d

Branch: refs/heads/develop
Commit: 443d8e4deea1f9b0edc32099bee83fe6a91f4b4d
Parents: 40b2330
Author: Carlos Rovira <ca...@apache.org>
Authored: Sat Jan 14 19:10:50 2017 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sat Jan 14 19:10:50 2017 +0100

----------------------------------------------------------------------
 .../flexjs/MDLExample/src/main/flex/Badges.mxml |  4 +-
 .../flexjs/MDLExample/src/main/flex/Cards.mxml  |  2 +-
 .../MDLExample/src/main/flex/MainFooter.mxml    | 47 --------------------
 .../MDLExample/src/main/flex/Sliders.mxml       |  2 +-
 .../flexjs/MDLExample/src/main/flex/Tabs.mxml   |  4 +-
 5 files changed, 6 insertions(+), 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/443d8e4d/examples/flexjs/MDLExample/src/main/flex/Badges.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Badges.mxml b/examples/flexjs/MDLExample/src/main/flex/Badges.mxml
index ab21fbc..cfda152 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Badges.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Badges.mxml
@@ -23,13 +23,13 @@ limitations under the License.
                  xmlns="http://www.w3.org/1999/xhtml">
 
     <mdl:Grid width="50" style="margin:20px">
-        <js:Div text="account_box" className="material-icons" style="color: rgba(0, 0, 0, 0.24);">
+        <js:Div text="account_box" style="color: rgba(0, 0, 0, 0.24);" className="material-icons">
             <js:beads>
                 <mdl:Badge dataBadge="2" overlap="true"/>
             </js:beads>
         </js:Div>
 
-        <js:Span text="Inbox" className="mdl-badge" style="color: rgba(0, 0, 0, 0.24);">
+        <js:Span text="Inbox" style="color: rgba(0, 0, 0, 0.24);" className="mdl-badge">
             <js:beads>
                 <mdl:Badge dataBadge="4"/>
             </js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/443d8e4d/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Cards.mxml b/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
index db0eee1..2a3b41d 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
@@ -24,7 +24,7 @@ limitations under the License.
                  
     <mdl:Grid className="center-items">
         
-            <mdl:Card id="mycard" className="demo-card-wide" shadow="2">
+            <mdl:Card id="mycard" shadow="2" className="demo-card-wide">
                 <mdl:CardTitle>
                     <mdl:CardTitleText text="Welcome"/>
                 </mdl:CardTitle>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/443d8e4d/examples/flexjs/MDLExample/src/main/flex/MainFooter.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/MainFooter.mxml b/examples/flexjs/MDLExample/src/main/flex/MainFooter.mxml
deleted file mode 100644
index 2b2b1f4..0000000
--- a/examples/flexjs/MDLExample/src/main/flex/MainFooter.mxml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<mdl:Footer xmlns:fx="http://ns.adobe.com/mxml/2009"
-            xmlns:js="library://ns.apache.org/flexjs/basic"
-            xmlns:mdl="library://ns.apache.org/flexjs/mdl"
-            xmlns:models="models.*"
-            mini="true">
-    
-    <mdl:model>
-        <models:FooterModel/>
-	</mdl:model>
-
-    <mdl:FooterLeftSection>
-        <mdl:FooterLogo text="Title"/>
-        <mdl:FooterLinkList className="footerMiniLinkListItemRenderer">
-            <mdl:beads>
-                <js:ConstantBinding
-                    sourceID="model"
-                    sourcePropertyName="links"
-                    destinationPropertyName="dataProvider" />
-            </mdl:beads>
-        </mdl:FooterLinkList>
-    </mdl:FooterLeftSection>
-
-    <mdl:FooterRightSection>
-        <mdl:FooterSocialButton>1</mdl:FooterSocialButton>
-        <mdl:FooterSocialButton>2</mdl:FooterSocialButton>
-        <mdl:FooterSocialButton>3</mdl:FooterSocialButton>
-    </mdl:FooterRightSection>
-</mdl:Footer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/443d8e4d/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml b/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
index 81e3bd4..cea2e7d 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
@@ -56,7 +56,7 @@ limitations under the License.
                     <mdl:CardTitleText id="slider1_txt"/>
                 </mdl:CardTitle>
                 <mdl:CardSupportingText>
-                    <mdl:Slider id="slider1" className="mdlsl_example" change="onValueChange1(event)" input="onValueChange1(event)"/>
+                    <mdl:Slider id="slider1" change="onValueChange1(event)" input="onValueChange1(event)"/>
                 </mdl:CardSupportingText>
             </mdl:Card>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/443d8e4d/examples/flexjs/MDLExample/src/main/flex/Tabs.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Tabs.mxml b/examples/flexjs/MDLExample/src/main/flex/Tabs.mxml
index ea1d3b0..abcb43d 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Tabs.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Tabs.mxml
@@ -20,14 +20,14 @@ limitations under the License.
 <mdl:TabBarPanel xmlns:fx="http://ns.adobe.com/mxml/2009"
                  xmlns:js="library://ns.apache.org/flexjs/basic"
                  xmlns:mdl="library://ns.apache.org/flexjs/mdl"
-                 xmlns="http://www.w3.org/1999/xhtml" xmlns:models="models.*">
+                 xmlns="http://www.w3.org/1999/xhtml"
+                 xmlns:models="models.*">
 
     <mdl:model>
         <models:TabsModel id="tabsModel"/>
     </mdl:model>
 
     <mdl:Grid>
-
         <mdl:GridCell column="1" percentWidth="100">
             <mdl:Tabs width="400" selectedIndex="1" tabIdField="tabId" labelField="label" className="customTabBarPanelItemRenderer">
                 <mdl:beads>