Some minor changes to card example

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

Branch: refs/heads/feature/mdl
Commit: 299be842d4f72abd54fd1760cce69128cdb5a933
Parents: bef2ae4
Author: Carlos Rovira <[email protected]>
Authored: Fri Dec 16 12:53:31 2016 +0100
Committer: Carlos Rovira <[email protected]>
Committed: Fri Dec 16 12:53:31 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/Cards.mxml | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/299be842/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 98c460d..1daf8ef 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
@@ -31,9 +31,7 @@ limitations under the License.
                 <mdl:CardSupportingText>
                     <js:beads>
                         <js:InnerHTML>
-                            <![CDATA[
-                                Lorem ipsum dolor sit <b>amet</b>, consectetur 
<i>adipiscing elit</i>. Mauris sagittis pellentesque lacus eleifend lacinia...
-                            ]]>
+                            <![CDATA[Lorem ipsum dolor sit <b>amet</b>, 
consectetur <i>adipiscing elit</i>. Mauris sagittis pellentesque lacus eleifend 
lacinia...]]>
                         </js:InnerHTML>
                     </js:beads>
                 </mdl:CardSupportingText>
@@ -54,9 +52,7 @@ limitations under the License.
                     <mdl:CardTitleText text="Update"/>
                 </mdl:CardTitle>
                 <mdl:CardSupportingText>
-                    <js:beads>
-                        <js:InnerHTML text="Lorem ipsum dolor sit amet, 
consectetur adipiscing elit. Aenan convallis."/>
-                    </js:beads>
+                    <js:TextNode text="Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. Aenan convallis."/>
                 </mdl:CardSupportingText>
                 <mdl:CardActions border="true">
                     <mdl:Button colored="true" ripple="true" text="View 
Updates"/>
@@ -75,9 +71,7 @@ limitations under the License.
                     <mdl:CardTitleText>
                         <js:beads>
                             <js:InnerHTML>
-                                <![CDATA[
-                                    <h4 class="mdl-card__title_h4">Featured 
event:<br>May 24, 2016<br>7-11pm</h4>
-                                ]]>
+                                <![CDATA[<h4 
class="mdl-card__title_h4">Featured event:<br>May 24, 2016<br>7-11pm</h4>]]>
                             </js:InnerHTML>
                         </js:beads>
                     </mdl:CardTitleText>

Reply via email to