aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements/canvas-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/elements/canvas-controller.js')
-rwxr-xr-xjs/controllers/elements/canvas-controller.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/controllers/elements/canvas-controller.js b/js/controllers/elements/canvas-controller.js
index 7af7e824..b8894c18 100755
--- a/js/controllers/elements/canvas-controller.js
+++ b/js/controllers/elements/canvas-controller.js
@@ -33,5 +33,13 @@ 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(element, properties) {
40 for(var property in properties) {
41 this.setProperty(element, property, properties[property]);
42 }
43 }
36 } 44 }
37}); \ No newline at end of file 45}); \ No newline at end of file