[Pkg-javascript-commits] [sockjs-client] 203/434: untabify

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:14 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 55d33acbe63b531f89e22dae3e609aa5fa31c04f
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Tue Nov 22 16:45:01 2011 +0000

    untabify
---
 lib/utils.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/utils.js b/lib/utils.js
index 98480b1..00442e1 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -31,9 +31,9 @@ utils.attachEvent = function(event, listener) {
         // IE quirks.
         // According to: http://stevesouders.com/misc/test-postmessage.php
         // the message gets delivered only to 'document', not 'window'.
-	_document.attachEvent("on" + event, listener);
+        _document.attachEvent("on" + event, listener);
         // I get 'window' for ie8.
-	_window.attachEvent("on" + event, listener);
+        _window.attachEvent("on" + event, listener);
     }
 };
 
@@ -45,7 +45,7 @@ utils.detachEvent = function(event, listener) {
         _window.removeEventListener(event, listener, false);
     } else {
         _document.detachEvent("on" + event, listener);
-	_window.detachEvent("on" + event, listener);
+        _window.detachEvent("on" + event, listener);
     }
 };
 
@@ -339,11 +339,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