Om,
I know what happened, but not sure where fix should go. Compiler or
ItemRendererDataBinding.
Once project is built in MemberItemRenderer
itemRenderers.MemberItemRenderer.prototype._bindings which contains all
bindings. [1] As you can see array has:
["FontAwesomeIconType", "GLASS"],
ItemRendererDataBinding analizing this array and searching in
MemberItemRenderer field "FontAwesomeIconType" and because it doesn't exists
we have this error.
Once I've created such field:
[Bindable]
public function get fontAwesomeGlass():String {
return FontAwesomeIconType.GLASS;
}
<fa:FontAwesomeIcon iconType="{fontAwesomeGlass}" />
ItemRendererDataBinding will find this field and take it's value without the
problem.
If someone could let me know where fix should go ?
[1] https://paste.apache.org/fOli
Piotr
-----
Apache Flex PMC
[email protected]
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57889.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.