Repository: flex-asjs Updated Branches: refs/heads/feature/amf 9d6673a65 -> 66cc5a3da (forced update)
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/feature/amf Commit: f0ddbd345147baa20c661b4d1499d0ff7ef7c868 Parents: ebc568a Author: Harbs <[email protected]> Authored: Tue Aug 22 11:01:33 2017 +0300 Committer: Harbs <[email protected]> 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; + } } }
