Skip to content

Commit

Permalink
Update Cookie.improved.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adriancooney committed Jan 3, 2013
1 parent b54c9f4 commit ca94ad3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cookie.improved.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//Needs finishing.

var Cookie = function(name, value, expdate) {
this.cookie = {
name: name,
value: value,
exp: expdate || (new Date()).setDate((new Date()).getDate() + (60*60*24*31*2))
};

document.coo
};

Cookie.prototype.destroy = function() {
this.cookie
};
};

0 comments on commit ca94ad3

Please sign in to comment.