aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements/canvas-controller.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-13 00:30:19 -0700
committerValerio Virgillito2012-04-13 00:30:19 -0700
commitf91e64235eb03c889ff4f5577c3e3480cd0d787f (patch)
tree946cfe53bd9281478f32c7a446c1c803383d8d17 /js/controllers/elements/canvas-controller.js
parent5b4826eced782fe7b4691d4bbbe0e3605d3164c1 (diff)
downloadninja-f91e64235eb03c889ff4f5577c3e3480cd0d787f.tar.gz
removing _undo array and _targets array and use object instead of matching arrays to set properties
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/controllers/elements/canvas-controller.js')
-rwxr-xr-xjs/controllers/elements/canvas-controller.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/controllers/elements/canvas-controller.js b/js/controllers/elements/canvas-controller.js
index b5df3911..7af7e824 100755
--- a/js/controllers/elements/canvas-controller.js
+++ b/js/controllers/elements/canvas-controller.js
@@ -33,13 +33,5 @@ exports.CanvasController = Montage.create(ElementController, {
33 ElementController.setProperty(el, p, value); 33 ElementController.setProperty(el, p, value);
34 } 34 }
35 } 35 }
36 },
37
38 setProperties: {
39 value: function(el, props, index) {
40 for(var p in props) {
41 el.elementModel.controller.setProperty(el, p, props[p][index]);
42 }
43 }
44 } 36 }
45}); \ No newline at end of file 37}); \ No newline at end of file