setting model will add the bead. Really should pull model from CSS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/827c2810 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/827c2810 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/827c2810 Branch: refs/heads/develop Commit: 827c28108257701da233d40a9e760b92bb28f5e3 Parents: e44cc21 Author: Alex Harui <aha...@apache.org> Authored: Fri Apr 3 16:06:49 2015 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Fri Apr 3 16:06:49 2015 -0700 ---------------------------------------------------------------------- frameworks/js/FlexJS/src/org/apache/flex/html/Image.js | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/827c2810/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js index 234967e..bccade8 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js @@ -57,8 +57,6 @@ org_apache_flex_html_Image.prototype.createElement = this.model = new org_apache_flex_html_beads_models_ImageModel(); - this.addBead(this.model); - this.addBead(new org_apache_flex_html_beads_ImageView());