[Pkg-javascript-commits] [sockjs-client] 222/434: Cosmetic: indentation

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 7354339e88af8b1b44f8d02f6cdaf9747b852cd0
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Mon Nov 28 17:26:05 2011 +0000

    Cosmetic: indentation
---
 lib/utils.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/utils.js b/lib/utils.js
index 05aad5b..32a4925 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -338,11 +338,11 @@ utils.amendUrl = function(url) {
 
 // IE doesn't support [].indexOf.
 utils.arrIndexOf = function(arr, obj){
-        for(var i=0; i < arr.length; i++){
-                if(arr[i] === obj){
-                        return i;
-                }
+    for(var i=0; i < arr.length; i++){
+        if(arr[i] === obj){
+            return i;
         }
+    }
     return -1;
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list