flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [09/38] git commit: [flex-asjs] [refs/heads/feature/fontawesome] - - Clean up unused imports - Rename TBody to THead - Change className assignment to classList.toggle
Date Wed, 04 Jan 2017 02:18:51 GMT
- Clean up unused imports
- Rename TBody to THead
- Change className assignment to classList.toggle


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

Branch: refs/heads/feature/fontawesome
Commit: c103c098e18d13d59cc9ea52779a1563552bc48b
Parents: 8e1c82f
Author: piotrz <piotrz@apache.org>
Authored: Thu Dec 29 20:04:00 2016 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Thu Dec 29 20:04:00 2016 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/Slider.as |  1 -
 .../src/main/flex/org/apache/flex/mdl/TBody.as  | 98 --------------------
 .../src/main/flex/org/apache/flex/mdl/THead.as  |  3 +-
 .../flex/org/apache/flex/mdl/TabBarButton.as    |  7 +-
 .../src/main/flex/org/apache/flex/mdl/Table.as  |  2 +-
 .../main/flex/org/apache/flex/mdl/TextField.as  |  1 -
 .../org/apache/flex/mdl/beads/ContactChip.as    |  5 -
 .../apache/flex/mdl/beads/ContactImageChip.as   |  1 -
 .../flex/mdl/beads/ListItemPrimaryContent.as    |  5 -
 .../flex/mdl/beads/ListItemSecondaryAction.as   |  5 -
 .../flex/mdl/beads/ListItemSecondaryContent.as  |  5 -
 .../flex/mdl/beads/ListItemSecondaryInfo.as     |  5 -
 .../apache/flex/mdl/beads/ListItemSubTitle.as   |  5 -
 .../apache/flex/mdl/beads/ListItemTextBody.as   |  5 -
 .../apache/flex/mdl/beads/SliderTrackView.as    |  1 -
 .../flex/org/apache/flex/mdl/beads/Tooltip.as   |  6 --
 .../beads/controllers/SliderMouseController.as  |  5 +-
 .../org/apache/flex/mdl/beads/views/ListView.as |  1 -
 .../apache/flex/mdl/beads/views/SliderView.as   |  5 -
 19 files changed, 6 insertions(+), 160 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
index d2fb38e..b74a229 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
@@ -24,7 +24,6 @@ package org.apache.flex.mdl
 
     COMPILE::JS
     {
-		import org.apache.flex.html.beads.controllers.SliderMouseController;
         import org.apache.flex.core.WrappedHTMLElement;        
     }
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TBody.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TBody.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TBody.as
deleted file mode 100644
index cfc6928..0000000
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TBody.as
+++ /dev/null
@@ -1,98 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.mdl
-{
-	import org.apache.flex.core.ContainerBase;
-    
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;
-    }
-    
-	/**
-	 *  The THead class is a Container component capable of parenting
-	 *  TH Table Header Cells
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class THead extends ContainerBase
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function THead()
-		{
-			super();
-
-			className = ""; //set to empty string avoid 'undefined' output when no class selector
is assigned by user;
-		}
-		
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         */
-        COMPILE::JS
-        override protected function createElement():WrappedHTMLElement
-        {
-			typeNames = "";
-
-            element = document.createElement('thead') as WrappedHTMLElement;
-            element.className = typeNames;
-            
-			positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
-            element.flexjs_wrapper = this;
-
-            return element;
-        }
-
-		protected var _ascending:Boolean;
-        /**
-		 *  A boolean flag to activate "mdl-data-table__header--sorted-ascending" effect selector.
-		 *  Applies all/individual selectable behavior (checkboxes)
-		 *  Optional; goes on table element
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-        public function get ascending():Boolean
-        {
-            return _ascending;
-        }
-        public function set selectable(value:Boolean):void
-        {
-			_ascending = value;
-
-			className += (_ascending ? " mdl-data-table__header--sorted-ascending" : "mdl-data-table__header--sorted-descending");
 
-        }
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
index cfc6928..9b6e92a 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
@@ -92,7 +92,8 @@ package org.apache.flex.mdl
         {
 			_ascending = value;
 
-			className += (_ascending ? " mdl-data-table__header--sorted-ascending" : "mdl-data-table__header--sorted-descending");
 
+			element.classList.toggle("mdl-data-table__header--sorted-ascending", _ascending);
+			element.classList.toggle("mdl-data-table__header--sorted-descending", _ascending == false);
         }
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarButton.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarButton.as
index 0d183c1..07d4682 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarButton.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarButton.as
@@ -82,11 +82,8 @@ package org.apache.flex.mdl
         COMPILE::JS
         override protected function createElement():WrappedHTMLElement
         {
-			var a:HTMLElement = document.createElement('a') as HTMLElement;
-            a.setAttribute('href', href);
-            
-            textNode = document.createTextNode('') as Text;
-            a.appendChild(textNode); 
+			var a:HTMLAnchorElement = document.createElement('a') as HTMLAnchorElement;
+            a.href = href;
 
 			element = a as WrappedHTMLElement;
             

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Table.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Table.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Table.as
index 55e8865..0ac0377 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Table.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Table.as
@@ -123,7 +123,7 @@ package org.apache.flex.mdl
         {
 			_selectable = value;
 
-			className += (_selectable ? " mdl-data-table--selectable" : "");  
+			element.classList.toggle("mdl-data-table--selectable", _selectable);
         }
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextField.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextField.as
index 810f5b0..e84f058 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextField.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextField.as
@@ -17,7 +17,6 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.mdl
 {
-    import org.apache.flex.core.ITextModel;
 	import org.apache.flex.events.Event;
 	import org.apache.flex.html.TextInput;
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactChip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactChip.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactChip.as
index 289b959..84aa001 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactChip.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactChip.as
@@ -21,15 +21,11 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
     import org.apache.flex.core.IStrand;
     import org.apache.flex.html.Span;
-    import org.apache.flex.mdl.supportClasses.IMdlColor;
-    import org.apache.flex.mdl.supportClasses.IMdlTextColor;
     import org.apache.flex.utils.StrandUtils;
 
     COMPILE::JS
     {
-        import org.apache.flex.core.UIHTMLElementWrapper;
         import org.apache.flex.core.UIBase;
-        import org.apache.flex.core.WrappedHTMLElement;
     }
     /**
      *  The ContactChip bead class is a specialty bead that can be used to add additional
@@ -84,7 +80,6 @@ package org.apache.flex.mdl.beads
          * @flexjsignorecoercion HTMLSpanElement
          * @flexjsignorecoercion Text
          * @flexjsignorecoercion HTMLButtonElement
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
          *
          * @param value
          */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactImageChip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactImageChip.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactImageChip.as
index 0225e5a..49ae1ec 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactImageChip.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ContactImageChip.as
@@ -21,7 +21,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
     import org.apache.flex.core.IStrand;
     import org.apache.flex.core.UIBase;
-    import org.apache.flex.html.Image;
 
     /**
      *  The ContactImageChip bead class is a specialty bead that can be used to add additional

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemPrimaryContent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemPrimaryContent.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemPrimaryContent.as
index de0948b..8a30530 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemPrimaryContent.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemPrimaryContent.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemPrimaryContent class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryAction.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryAction.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryAction.as
index 2f64127..e920638 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryAction.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryAction.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemSecondaryAction class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryContent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryContent.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryContent.as
index b3691a3..635c4b1 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryContent.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryContent.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemSecondaryContent class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryInfo.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryInfo.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryInfo.as
index 82cd173..90ef1a0 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryInfo.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSecondaryInfo.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemSecondaryInfo class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSubTitle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSubTitle.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSubTitle.as
index 392a651..4b405cf 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSubTitle.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemSubTitle.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemSubTitle class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemTextBody.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemTextBody.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemTextBody.as
index 4105674..8316c39 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemTextBody.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ListItemTextBody.as
@@ -22,11 +22,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
 	import org.apache.flex.core.UIBase;
 
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
-
 	/**
 	 *  The ListItemTextBody class decorates a tag element in a list item renderer
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/SliderTrackView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/SliderTrackView.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/SliderTrackView.as
index dc63e1d..e22bedc 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/SliderTrackView.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/SliderTrackView.as
@@ -25,7 +25,6 @@ package org.apache.flex.mdl.beads
 	import org.apache.flex.core.BeadViewBase;
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.UIBase;
 	import org.apache.flex.html.Button;
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.IEventDispatcher;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Tooltip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Tooltip.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Tooltip.as
index 4c9084f..9efb1ca 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Tooltip.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Tooltip.as
@@ -21,12 +21,6 @@ package org.apache.flex.mdl.beads
     import org.apache.flex.core.IBead;
     import org.apache.flex.core.IStrand;
     import org.apache.flex.core.UIBase;
-    import org.apache.flex.html.Div;
-
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;            
-    }
 
 	/**
 	 *  The Tooltip class represents

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/SliderMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/SliderMouseController.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/SliderMouseController.as
index 4afb6d8..876334c 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/SliderMouseController.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/SliderMouseController.as
@@ -28,15 +28,12 @@ package org.apache.flex.mdl.beads.controllers
 	import org.apache.flex.events.MouseEvent;
 	import org.apache.flex.geom.Point;
 	import org.apache.flex.html.beads.ISliderView;
-	import org.apache.flex.mdl.beads.SliderTrackView;
 
     COMPILE::JS
     {
-        import goog.events;
-        import goog.events.EventType;
+		import goog.events;
         import org.apache.flex.events.BrowserEvent;
         import org.apache.flex.mdl.Slider;
-        import org.apache.flex.mdl.beads.SliderThumbView;
     }
 	
 	/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/ListView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/ListView.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/ListView.as
index b620b83..b642c18 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/ListView.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/ListView.as
@@ -22,7 +22,6 @@ package org.apache.flex.mdl.beads.views
 	import org.apache.flex.core.IBeadLayout;
 	import org.apache.flex.core.IDataProviderItemRendererMapper;
 	import org.apache.flex.core.IItemRendererParent;
-	import org.apache.flex.core.IParentIUIBase;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.core.ISelectionModel;
 	import org.apache.flex.core.ValuesManager;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c103c098/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/SliderView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/SliderView.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/SliderView.as
index cbd5ade..175c949 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/SliderView.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/SliderView.as
@@ -18,11 +18,6 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.mdl.beads.views
 {
-	COMPILE::SWF {
-		import flash.display.DisplayObject;
-		import flash.display.Sprite;
-	}
-	
     import org.apache.flex.core.BeadViewBase;
 	import org.apache.flex.core.IBead;
 	import org.apache.flex.core.IBeadModel;


Mime
View raw message