aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-06 10:59:51 -0800
committerNivesh Rajbhandari2012-02-06 10:59:51 -0800
commit1b0c5c0e7ebf9dda95a624da546aaece268631ad (patch)
tree0468552c2a445e9bc570fcea2c1d0badecee2b7e
parent04ef4da7aa6e7eced12e271847a00a0002ee3506 (diff)
downloadninja-1b0c5c0e7ebf9dda95a624da546aaece268631ad.tar.gz
Fixing format of for loop.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rw-r--r--js/mediators/element-mediator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index 992ac620..c44e1cb5 100644
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -48,10 +48,10 @@ exports.ElementMediator = Montage.create(NJComponent, {
48 len = this.application.ninja.selectedElements.length; 48 len = this.application.ninja.selectedElements.length;
49 49
50 if(len) { 50 if(len) {
51 for(var i = 0; i<len; i++) 51 for(var i = 0; i<len; i++) {
52 {
53 els.push(this.application.ninja.selectedElements[i]); 52 els.push(this.application.ninja.selectedElements[i]);
54 } 53 }
54
55 for(i=0; i<len; i++) { 55 for(i=0; i<len; i++) {
56 this._removeElement(els[i]._element); 56 this._removeElement(els[i]._element);
57 } 57 }