From 9b441c10481db52f0ba194626b8eeefc0e9d8e38 Mon Sep 17 00:00:00 2001 From: Sacha Greif Date: Tue, 29 Oct 2013 13:30:35 +0900 Subject: [PATCH] make scoring client-side too for latency compensation --- client/views/posts/post_item.html | 2 -- lib/scoring.js | 45 +++++++++++++++++++++++++++++ lib/vote.js | 4 +-- server/scoring.js | 47 ------------------------------- 4 files changed, 47 insertions(+), 51 deletions(-) create mode 100644 lib/scoring.js diff --git a/client/views/posts/post_item.html b/client/views/posts/post_item.html index 7cc0751a8..80caa40d6 100644 --- a/client/views/posts/post_item.html +++ b/client/views/posts/post_item.html @@ -4,10 +4,8 @@