From 18d640089eedb5885e668916d0b91959d2955eae Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 31 Mar 2011 22:43:28 -0700 Subject: [PATCH] Remved parts for reworking api --- client.html | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/client.html b/client.html index a650994..390d1f4 100644 --- a/client.html +++ b/client.html @@ -782,24 +782,6 @@ function handleTestUpdate(resp) { tests[resp['name']]['reducefn'] = decodeStr(resp["reducefn"]); } -function releaseLock(type) { - var lock = myLocks[type]; - myLocks[type] = null; - - lock.locked = false; - - - var m = new Object(); - m["query"] = "releaseLock"; - m["type"] = type; - m["name"] = lock.name; - if (type == "range") { - m["start"] = lock.start; - m["end"] = lock.end; - } - - bcastMsg(m); -} function handleLockRelease(resp) { //var locks = getLockType(resp['type']);