From 57fa577e54875ab03f8f7175970c3134ccff72d2 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 1 Sep 2013 23:40:55 +0200 Subject: [PATCH] whatever I made there --- isso/js/client.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/isso/js/client.js b/isso/js/client.js index 92dfc35..4d465fc 100644 --- a/isso/js/client.js +++ b/isso/js/client.js @@ -37,7 +37,7 @@ function form(id, defaults, func) { event.stop(); }); return rv; -}; +} function extract(form, parent) { @@ -53,7 +53,7 @@ function extract(form, parent) { function edit() { -}; +} function commit(form, parent) { @@ -62,7 +62,7 @@ function commit(form, parent) { insert(JSON.parse(rv)); } }); -}; +} var insert = function insert(post) { @@ -148,10 +148,10 @@ var insert = function insert(post) { }); } else { $('#issoform_' + post['id']).remove(); - }; + } event.stop(); }); - }; + } // ability to answer directly to a comment $('footer > a:first-child', '#isso_' + post['id']).on('click', function(event) { @@ -164,10 +164,10 @@ var insert = function insert(post) { })); } else { $('#issoform_' + post['id']).remove(); - }; + } event.stop(); }); -}; +} /* @@ -182,7 +182,7 @@ function initialize(thread) { html = form(null, {}, commit); thread.append(html); -}; +} function fetch(thread) { @@ -191,12 +191,12 @@ function fetch(thread) { if (status != 200) { return - }; + } rv = JSON.parse(rv); for (var item in rv) { insert(rv[item]); - }; + } }); }