Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clean indent...

  • Loading branch information...
commit 20054aa0f408152130b3d7314a0b97a7273ef96e 1 parent 569e5d6
@holyshared authored
Showing with 10 additions and 10 deletions.
  1. +6 −6 Source/Core/Moostrap.js
  2. +4 −4 Source/Executer/Executer.js
View
12 Source/Core/Moostrap.js
@@ -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;
},
View
8 Source/Executer/Executer.js
@@ -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;
},
Please sign in to comment.
Something went wrong with that request. Please try again.