From 3efd536f77c0b2aca7f2becc7598125dff04508d Mon Sep 17 00:00:00 2001 From: Michael D Adams Date: Thu, 29 Aug 2013 14:50:08 -0700 Subject: [PATCH] takes two parameters: the key, and the value. --- sync.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.coffee b/sync.coffee index 3a0058f..6c3e20f 100644 --- a/sync.coffee +++ b/sync.coffee @@ -17,7 +17,7 @@ class bucket if not @clientid? or @clientid.indexOf("sjs") != 0 @clientid = "sjs-#{@s.bversion}-#{@uuid(5)}" try - localStorage.setItem "#{@namespace}/clientid" + localStorage.setItem "#{@namespace}/clientid", @clientid catch error console.log "#{@name}: couldnt set clientid"