Permalink
Browse files

clean indent...

  • Loading branch information...
1 parent 569e5d6 commit 20054aa0f408152130b3d7314a0b97a7273ef96e @holyshared committed Dec 27, 2011
Showing with 10 additions and 10 deletions.
  1. +6 −6 Source/Core/Moostrap.js
  2. +4 −4 Source/Executer/Executer.js
View
@@ -101,9 +101,9 @@ Moostrap.Module = new Class({
return this._collection[this._cursor];
},
next: function(){
- if (this.hasNext() === false){
+ if (this.hasNext() === false){
return;
- }
+ }
this._cursor++;
},
index: function(){
@@ -146,7 +146,7 @@ Moostrap.Bootstrapper = new Class({
_prepare: function(options){
var bootstrapper = this;
method = null,
- setter = null,
+ setter = null,
handler = null;
['title', 'resource', 'configuration', 'handler'].each(function(key){
@@ -155,12 +155,12 @@ Moostrap.Bootstrapper = new Class({
}
method = key.capitalize();
- setter = 'set' + method;
+ setter = 'set' + method;
handler = bootstrapper[setter];
- handler.call(bootstrapper, options[key]);
+ handler.call(bootstrapper, options[key]);
- delete options[key];
+ delete options[key];
});
return options;
},
@@ -51,13 +51,13 @@ namespace.Executer = new Class({
if (!options[key]){
return;
}
- method = key.capitalize();
- setter = 'set' + method;
+ method = key.capitalize();
+ setter = 'set' + method;
handler = executer[setter];
- handler.call(executer, options[key]);
+ handler.call(executer, options[key]);
- delete options[key];
+ delete options[key];
});
return options;
},

0 comments on commit 20054aa

Please sign in to comment.