You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2022/01/04 08:45:43 UTC
[royale-asjs] branch develop updated: needed casting
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 510c862 needed casting
510c862 is described below
commit 510c862f891d15c3eb5ca732599a3a58b8d1146e
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Jan 4 10:45:33 2022 +0200
needed casting
---
.../Basic/src/main/royale/org/apache/royale/html/MXMLBeadView.as | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MXMLBeadView.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MXMLBeadView.as
index 86652f7..c5896e0 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MXMLBeadView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MXMLBeadView.as
@@ -30,6 +30,7 @@ package org.apache.royale.html
import org.apache.royale.states.State;
import org.apache.royale.utils.MXMLDataInterpreter;
import org.apache.royale.utils.loadBeadFromValuesManager;
+ import org.apache.royale.core.IStrandWithModel;
[DefaultProperty("mxmlContent")]
@@ -92,10 +93,11 @@ package org.apache.royale.html
[Bindable("__NoChangeEvent__")]
/**
* The model object.
+ * @royaleignorecoercion org.apache.royale.core.IStrandWithModel
*/
public function get model():Object
{
- return _strand.model;
+ return (_strand as IStrandWithModel).model;
}
/**