Skip to content

Commit

Permalink
Fixed code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Vogel committed Dec 17, 2012
1 parent d698319 commit cdd449c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions MooToolsAdapter.js
Expand Up @@ -86,14 +86,13 @@
* @return MooToolsAdapter The object the method was called on.
*/
html: function(htmlString){
if (typeof htmlString === 'undefined') {
return this[0].get('html');
}
else {
for (var i = 0; i < this.length; i++){
this[i].set('html', htmlString);
}
}
if (typeof htmlString === 'undefined') {
return this[0].get('html');
} else {
for (var i = 0; i < this.length; i++){
this[i].set('html', htmlString);
}
}
return this;
},

Expand Down

0 comments on commit cdd449c

Please sign in to comment.