Remove warnings related to Bindings - Make MenuItemVO Bindable
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b544583a Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b544583a Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b544583a Branch: refs/heads/feature/fontawesome Commit: b544583a2acc69ac647fa1abf04339db6422efef Parents: 084232f Author: piotrz <pio...@apache.org> Authored: Mon Jan 2 09:39:48 2017 +0100 Committer: piotrz <pio...@apache.org> Committed: Mon Jan 2 09:39:48 2017 +0100 ---------------------------------------------------------------------- .../src/main/flex/itemRenderers/CustomListItemRenderer.mxml | 2 +- examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b544583a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml index 5d4b55c..38d371d 100644 --- a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml +++ b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml @@ -38,7 +38,7 @@ limitations under the License. <js:ItemRendererDataBinding /> </mdl:beads> - <js:Span text="{data.label}"> + <js:Span text="{product.label}"> <js:beads> <mdl:ListItemPrimaryContent/> </js:beads> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b544583a/examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as ---------------------------------------------------------------------- diff --git a/examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as b/examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as index 567672c..7baa8cc 100644 --- a/examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as +++ b/examples/flexjs/MDLExample/src/main/flex/vos/MenuItemVO.as @@ -18,6 +18,7 @@ //////////////////////////////////////////////////////////////////////////////// package vos { + [Bindable] public class MenuItemVO { private var _label:String;