ScottHamper / Cookies

JavaScript Client-Side Cookie Manipulation Library
The Unlicense
1.77k stars 169 forks source link

Fixed initialization of the "secure" option #2

Closed pomeh closed 12 years ago

pomeh commented 12 years ago

When the option.secure is set to false, the check options && options.secure || Cookies.defaults.secure returns the default value instead of false