summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortekimaki <will@tekimaki.com>2010-12-03 12:34:43 -0500
committertekimaki <will@tekimaki.com>2010-12-03 12:34:43 -0500
commit9d10928acdef96a22278943b75bf8201d3b8a23a (patch)
treedf1445929e91b0d8a9d40fea5814813284a59f57
parent1387c4d6d6d3e355767b821dcb7c2b14660bfe89 (diff)
parent2451924fe5e5f57b127d7f4b451a29a9ed5be77d (diff)
downloadutil-9d10928acdef96a22278943b75bf8201d3b8a23a.tar.gz
util-9d10928acdef96a22278943b75bf8201d3b8a23a.tar.bz2
util-9d10928acdef96a22278943b75bf8201d3b8a23a.zip
Merge branch 'cr'
-rw-r--r--javascript/bitweaver.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/bitweaver.js b/javascript/bitweaver.js
index 259f6f8..5cb14e6 100644
--- a/javascript/bitweaver.js
+++ b/javascript/bitweaver.js
@@ -189,9 +189,10 @@ BitBase = {
// [domain] (optional) = the domain of the cookie (must be same domain used when created)
// NOTE: path and domain default if assigned null or omitted if no explicit argument proceeds
"deleteCookie": function(name, path, domain) {
+ var self = BitBase;
var cookie_path = (path) ? path : bitCookiePath;
var cookie_domain = escape((domain) ? domain : bitCookieDomain);
- if (getCookie(name)) {
+ if (self.getCookie(name)) {
document.cookie = name + "="
+ "; path=" + cookie_path + "; domain=" + cookie_domain + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}