Array.js
[roojs1] / Array.js
index c775775..1d8a285 100644 (file)
--- a/Array.js
+++ b/Array.js
@@ -20,7 +20,7 @@ Roo.applyIf(Array.prototype, {
      */
     indexOf : function(o){
        for (var i = 0, len = this.length; i < len; i++){
-             if(this[i] == o) return i;
+             if(this[i] == o) { return i; }
        }
           return -1;
     },
@@ -59,4 +59,4 @@ Roo.applyIf(Array.prototype, {
 });
 
 
\ No newline at end of file