flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - FLEX-35269 - Make CheckBox dynamic
Date Sat, 18 Mar 2017 13:38:15 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 8489282ad -> ba9c6c672


FLEX-35269 - Make CheckBox dynamic


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

Branch: refs/heads/develop
Commit: ba9c6c672092b5a8492106a92793406612a2f88c
Parents: 8489282
Author: piotrz <piotrz@apache.org>
Authored: Sat Mar 18 14:38:11 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Sat Mar 18 14:38:11 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/CheckBox.as        | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba9c6c67/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index 346cf37..698be69 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -19,8 +19,10 @@
 package org.apache.flex.mdl
 {
     import org.apache.flex.html.CheckBox; 
-    import org.apache.flex.core.IToggleButtonModel;          
-    
+    import org.apache.flex.core.IToggleButtonModel;
+    import org.apache.flex.mdl.beads.UpgradeChildren;
+    import org.apache.flex.mdl.beads.UpgradeElement;
+
     COMPILE::JS
     {
         import org.apache.flex.core.WrappedHTMLElement;
@@ -57,7 +59,10 @@ package org.apache.flex.mdl
 			super();
 
             className = ""; //set to empty string avoid 'undefined' output when no class
selector is assigned by user;
-		}
+
+            addBead(new UpgradeElement());
+            addBead(new UpgradeChildren(["mdl-checkbox__ripple-container"]));
+        }
         
         COMPILE::JS
         protected var input:HTMLInputElement;


Mime
View raw message