cookie-monster
Advanced tools
Comparing version 0.0.7 to 0.1.0
@@ -22,15 +22,15 @@ 'use strict'; | ||
if (opts.expires){ | ||
if (opts.hasOwnProperty('expires')){ | ||
newCookie += '; expires=' + opts.expires; | ||
} | ||
if (opts.path) { | ||
if (opts.hasOwnProperty('path')) { | ||
newCookie += '; path=' + opts.path; | ||
} | ||
if (opts.domain) { | ||
if (opts.hasOwnProperty('domain')) { | ||
newCookie += '; domain=' + opts.domain; | ||
} | ||
if (opts.secure) { | ||
if (opts.hasOwnProperty('secure')) { | ||
newCookie += '; secure'; | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "cookie-monster", | ||
"description": "Browserify-compatible module to get and set cookies in the browser", | ||
"version": "0.0.7", | ||
"version": "0.1.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
6750
13