diff options
author | Jonathan Duran | 2012-04-19 09:42:23 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-19 09:42:23 -0700 |
commit | 276f0424550e74461edf8d19172a52d2e8eb49c7 (patch) | |
tree | 77c20781c4a9fb92f5ce90504205bbffb30e1942 /js | |
parent | fa7761eb547372f846a304d775e717a7ef1cbf35 (diff) | |
download | ninja-276f0424550e74461edf8d19172a52d2e8eb49c7.tar.gz |
Remove unneeded require
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 5fdf71d6..7dcd397c 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -6,7 +6,6 @@ | |||
6 | 6 | ||
7 | var Montage = require("montage/core/core").Montage; | 7 | var Montage = require("montage/core/core").Montage; |
8 | var Component = require("montage/ui/component").Component; | 8 | var Component = require("montage/ui/component").Component; |
9 | var ElementsMediator = require("js/mediators/element-mediator").ElementMediator; | ||
10 | 9 | ||
11 | var Tween = exports.Tween = Montage.create(Component, { | 10 | var Tween = exports.Tween = Montage.create(Component, { |
12 | 11 | ||
@@ -228,8 +227,8 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
228 | var currentTop = this.tweenedProperties["top"] + "px"; | 227 | var currentTop = this.tweenedProperties["top"] + "px"; |
229 | var currentLeft = this.tweenedProperties["left"] + "px"; | 228 | var currentLeft = this.tweenedProperties["left"] + "px"; |
230 | 229 | ||
231 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); | 230 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); |
232 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); | 231 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); |
233 | 232 | ||
234 | } | 233 | } |
235 | }, | 234 | }, |