flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fixed a few errors in DataGridXcompile
Date Tue, 22 Aug 2017 08:01:37 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ebc568a7e -> f0ddbd345


Fixed a few errors in DataGridXcompile


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

Branch: refs/heads/develop
Commit: f0ddbd345147baa20c661b4d1499d0ff7ef7c868
Parents: ebc568a
Author: Harbs <harbs@in-tools.com>
Authored: Tue Aug 22 11:01:33 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Tue Aug 22 11:01:33 2017 +0300

----------------------------------------------------------------------
 .../apache/flex/html/customControls/beads/DataGridView.as |  8 ++++++++
 .../apache/flex/html/staticControls/beads/BoxGridView.as  | 10 +++++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f0ddbd34/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
index 15fe694..ba189d2 100644
--- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
+++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
@@ -26,6 +26,7 @@ package org.apache.flex.html.customControls.beads
 	import org.apache.flex.core.IDataGridModel;
 	import org.apache.flex.core.IDataGridPresentationModel;
 	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
@@ -145,5 +146,12 @@ package org.apache.flex.html.customControls.beads
 			
 			IEventDispatcher(_strand).dispatchEvent(new Event('change'));
 		}
+		/**
+		 * @flexjsignorecoercion org.apache.flex.core.IUIBase
+		 */
+		public function get host():IUIBase
+		{
+			return _strand as IUIBase;
+		}
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f0ddbd34/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
----------------------------------------------------------------------
diff --git a/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
b/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
index a9d7b8f..7a75394 100644
--- a/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
+++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
@@ -16,10 +16,11 @@
 //  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.html.beads
+package org.apache.flex.html.staticControls.beads
 {
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.html.Label;
 	
@@ -44,5 +45,12 @@ package org.apache.flex.html.beads
 			label.height = 25;
 			UIBase(_strand).addElement(label);
 		}
+		/**
+		 * @flexjsignorecoercion org.apache.flex.core.IUIBase
+		 */
+		public function get host():IUIBase
+		{
+			return _strand as IUIBase;
+		}
 	}
 }


Mime
View raw message