flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [06/40] git commit: [flex-asjs] [refs/heads/tlf] - - Remove event click registration for SWF in MDL Switch
Date Sun, 26 Mar 2017 13:01:58 GMT
- Remove event click registration for SWF in MDL Switch


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

Branch: refs/heads/tlf
Commit: 3f00e42b2cb339b36c48c15360a0057d116a9c64
Parents: 8b48ada
Author: piotrz <piotrz@apache.org>
Authored: Sat Mar 18 15:12:49 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Sat Mar 18 15:12:49 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/Switch.as          | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3f00e42b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
index 5a0f965..abe0290 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Switch.as
@@ -96,11 +96,6 @@ package org.apache.flex.mdl
         {
             super();
 
-            COMPILE::SWF
-            {
-                addEventListener(MouseEvent.CLICK, internalMouseHandler);
-            }
-
             className = "";
             
             addBead(new UpgradeElement());
@@ -242,11 +237,5 @@ package org.apache.flex.mdl
             input.checked = selected;
             label.classList.toggle("is-checked", selected);
         }
-
-        COMPILE::SWF
-        private function internalMouseHandler(event:MouseEvent) : void
-        {
-            //selected = !selected;
-        }
     }
 }
\ No newline at end of file


Mime
View raw message