Array.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:38:11 +0000 (17:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:38:11 +0000 (17:38 +0800)
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