flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [04/10] git commit: [flex-asjs] [refs/heads/develop] - add typename on the as side so it will work in js when cross-compiled
Date Sat, 10 Jan 2015 07:46:10 GMT
add typename on the as side so it will work in js when cross-compiled


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

Branch: refs/heads/develop
Commit: e145a2dc50f565724f7c12388861d0768031c6e6
Parents: b08c587
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 9 13:47:05 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 9 23:45:57 2015 -0800

----------------------------------------------------------------------
 .../FlexJSJX/src/org/apache/flex/html/ImageButton.as     |  1 +
 frameworks/as/projects/FlexJSUI/defaults.css             |  5 +++++
 .../projects/FlexJSUI/src/org/apache/flex/core/UIBase.as | 11 +++++++++++
 .../FlexJSUI/src/org/apache/flex/core/UIButtonBase.as    | 11 +++++++++++
 4 files changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e145a2dc/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/ImageButton.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/ImageButton.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/ImageButton.as
index 6db46d0..dd92019 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/ImageButton.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/ImageButton.as
@@ -42,6 +42,7 @@ package org.apache.flex.html
 		public function ImageButton()
 		{
 			super();
+            typeNames = "ImageButton";
 		}
         
         public function get backgroundImage():String

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e145a2dc/frameworks/as/projects/FlexJSUI/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/defaults.css b/frameworks/as/projects/FlexJSUI/defaults.css
index c92fead..10c70db 100644
--- a/frameworks/as/projects/FlexJSUI/defaults.css
+++ b/frameworks/as/projects/FlexJSUI/defaults.css
@@ -108,6 +108,11 @@ HContainer
     IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.NonVirtualHorizontalLayout");
 }
 
+ImageButton
+{
+    border-style: none;
+}
+
 VContainer
 {
     IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e145a2dc/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIBase.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIBase.as
index c4a7c4f..ad23c52 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIBase.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIBase.as
@@ -625,6 +625,17 @@ package org.apache.flex.core
             }
         }
         
+        /**
+         *  A list of type names.  Often used for CSS
+         *  type selector lookups.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public var typeNames:String;
+        
         private var _className:String;
 
         /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e145a2dc/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
index 34b750c..561d848 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
@@ -594,6 +594,17 @@ package org.apache.flex.core
             _styles = JSON.parse("{" + value + "}");
         }
         
+        /**
+         *  A list of type names.  Often used for CSS
+         *  type selector lookups.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public var typeNames:String;
+        
 		private var _className:String;
 
         /**


Mime
View raw message