]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Fixed indenting"
authorEvan Prodromou <evan@status.net>
Wed, 23 Sep 2009 15:08:12 +0000 (11:08 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 23 Sep 2009 15:08:12 +0000 (11:08 -0400)
This reverts commit 182257cbbf1557c2671b1995c9126c45b0bd8e79.

plugins/Meteor/meteorupdater.js

index 82594d91c75b7ab401235d42b50d67e475788369..de01d430a1220fa7830148ead1a8d9c3ef874d3e 100644 (file)
@@ -4,28 +4,28 @@
 
 var MeteorUpdater = function()
 {
-    return {
+     return {
 
-        init: function(server, port, timeline)
-        {
-            var screen_name;
+          init: function(server, port, timeline)
+          {
+               var screen_name;
 
-            Meteor.callbacks["process"] = function(data) {
-                var d = JSON.parse(data);
-                screen_name = d['user']['screen_name'];
+               Meteor.callbacks["process"] = function(data) {
+                    var d = JSON.parse(data);
+                    screen_name = d['user']['screen_name'];
 
-                if (timeline == 'public' ||
-                    $('address .url')[0].href+screen_name+'/all' == window.location.href ||
-                    $('address .url')[0].href+screen_name == window.location.href) {
-                    RealtimeUpdate.receive(d);
-                }
-            };
+                    if (timeline == 'public' ||
+                        $('address .url')[0].href+screen_name+'/all' == window.location.href ||
+                        $('address .url')[0].href+screen_name == window.location.href) {
+                        RealtimeUpdate.receive(d);
+                    }
+               };
 
-            Meteor.host = server;
-            Meteor.port = port;
-            Meteor.joinChannel(timeline, 0);
-            Meteor.connect();
-        }
-    }
+               Meteor.host = server;
+               Meteor.port = port;
+               Meteor.joinChannel(timeline, 0);
+               Meteor.connect();
+          }
+     }
 }();