You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2016/09/27 09:49:54 UTC

[09/28] git commit: [flex-asjs] [refs/heads/refactor-sprite] - Removed the explicit creation of model and view for Image now that the CSS defines it universally.

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/refactor-sprite
Commit: 38747818217a3d3a06667b09bac30fc7c90c7415
Parents: 72dfce0
Author: Peter Ent <pe...@apache.org>
Authored: Mon Sep 12 13:35:33 2016 -0400
Committer: Peter Ent <pe...@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;
         }