diff options
author | Valerio Virgillito | 2012-05-16 15:32:36 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 15:32:36 -0700 |
commit | fd54dabad7cbc27a0efb0957155c00d578912909 (patch) | |
tree | b38e0a4bca414a762ea79b97213d48b7fddfac30 /js/helper-classes | |
parent | 13ae16997d4bbca14e255d5989d1c44a76eac72c (diff) | |
download | ninja-fd54dabad7cbc27a0efb0957155c00d578912909.tar.gz |
changing @change to propertyChangeListener
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/helper-classes')
-rwxr-xr-x | js/helper-classes/3D/snap-manager.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/helper-classes/3D/snap-manager.js b/js/helper-classes/3D/snap-manager.js index 5a36e367..2e8020d3 100755 --- a/js/helper-classes/3D/snap-manager.js +++ b/js/helper-classes/3D/snap-manager.js | |||
@@ -130,10 +130,10 @@ var SnapManager = exports.SnapManager = Montage.create(Component, { | |||
130 | 130 | ||
131 | bindSnap: { | 131 | bindSnap: { |
132 | value: function() { | 132 | value: function() { |
133 | this.addEventListener("change@appModel.snap", this.toggleSnap, false); | 133 | this.addPropertyChangeListener("appModel.snap", this.toggleSnap, false); |
134 | this.addEventListener("change@appModel.snapGrid", this.toggleSnapGrid, false); | 134 | this.addPropertyChangeListener("appModel.snapGrid", this.toggleSnapGrid, false); |
135 | this.addEventListener("change@appModel.snapObjects", this.toggleSnapObjects, false); | 135 | this.addPropertyChangeListener("appModel.snapObjects", this.toggleSnapObjects, false); |
136 | this.addEventListener("change@appModel.snapAlign", this.toggleSnapAlign, false); | 136 | this.addPropertyChangeListener("appModel.snapAlign", this.toggleSnapAlign, false); |
137 | } | 137 | } |
138 | }, | 138 | }, |
139 | 139 | ||