Repository: flex-asjs Updated Branches: refs/heads/develop 72dfce042 -> 387478182
Removed the explicit creation of model and view for Image now that the CSS defines it universally. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/38747818 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/38747818 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/38747818 Branch: refs/heads/develop Commit: 38747818217a3d3a06667b09bac30fc7c90c7415 Parents: 72dfce0 Author: Peter Ent <p...@apache.org> Authored: Mon Sep 12 13:35:33 2016 -0400 Committer: Peter Ent <p...@apache.org> Committed: Mon Sep 12 13:35:33 2016 -0400 ---------------------------------------------------------------------- .../HTML/src/main/flex/org/apache/flex/html/Image.as | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38747818/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Image.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Image.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Image.as index ae81c18..0a42d2a 100644 --- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Image.as +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Image.as @@ -85,13 +85,7 @@ package org.apache.flex.html positioner = element; positioner.style.position = 'relative'; element.flexjs_wrapper = this; - - model = new - ImageModel(); - - addBead(new - ImageView()); - + return element; }