From fd822bdaf9d04e522aaa5400b673f333190abe98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 Oct 2011 11:27:49 -0700 Subject: chore(formating): clean code to be function() { --- example/tweeter/tweeterclient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example/tweeter/tweeterclient.js') diff --git a/example/tweeter/tweeterclient.js b/example/tweeter/tweeterclient.js index 84fc5ef7..9ad7eabc 100644 --- a/example/tweeter/tweeterclient.js +++ b/example/tweeter/tweeterclient.js @@ -1,7 +1,7 @@ -function noop(){} -$(document).ready(function(){ +function noop() {} +$(document).ready(function() { function xhr(method, url, data, callback){ - jQuery.getJSON(url, function(){ + jQuery.getJSON(url, function() { callback.apply(this, arguments); scope.updateView(); }); -- cgit v1.2.3