theprojecter / ezcookie Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ezcookie
Automatically exported from code.google.com/p/ezcookie
If an empty string is passed in the expires attribute of the options object
when setting a cookie the cookie fails to be set and a javascript exception is
thrown: 'date.toUTCString() is not a function'.
Proposed Code Change:
Line 76: var expires;
if(options.expires != '') expires= '; expires=' + date.toUTCString();
else expires = options.expires;
Original issue reported on code.google.com by [email protected]
on 4 Nov 2011 at 9:39
What steps will reproduce the problem?
1. Simply call $.removeCookie("somename"); with dummy cookie name. Do NOT check
whether the cookie exists or not.
What is the expected output? What do you see instead?
Expected: If cookie is set, it is removed, otherwise nothing happens like
calling $.noop(); ... this behavior works ok with Document mode IE8 and less
Result: JS error "Exception thrown and not caught", line 65, char 5...
What version of the product are you using? On what operating system?
Plugin: v0.70.1
JQuery: v1.4.2
Browser: IE 9 Beta v9.0.7930.16406 (Browser mode: IE9, Document mode: IE9)
Please provide any additional information below.
none
Original issue reported on code.google.com by [email protected]
on 15 Oct 2010 at 8:42
What steps will reproduce the problem?
1. Set a cookie with a domain/path using $.setCookie
2. Remove the cookie by its name using $.removeCookie
What is the expected output? What do you see instead?
Expected: no cookie
I see: here it is!
What version of the product are you using? On what operating system?
Latest
Please provide any additional information below.
I suggest this plugin will use the original jquery.cookie and enhance it with
JSON/"subcookie" stuff.
Also, clearCookie is superfluous, there's no real need for this function.
Also, null is a valid value for a cookie (in FF at least), undefined should be
used to indicate the absence of cookie.
Also, naming should be improved, get and set come in pairs. Mixing
jquery.cookie style naming with get/set leads to confusion.
Also, important, please update, whether you are going to work on the issues
soon.
Thank you so much.
Original issue reported on code.google.com by [email protected]
on 19 Dec 2010 at 1:09
What steps will reproduce the problem?
1. Visit http://moonhouse.se/temp/jquerytest/ezcookie.html with IE 8.
What is the expected output?
"Cookie set to value "This is a test cookie with EzCookie""
What do you see instead?
"No cookie found"
What version of the product are you using? On what operating system?
EzCookie 0.7 with JQuery 1.4.2 in Internet Explorer 8.0.7600.16385 under
Windows 7 Home Premium.
Please provide any additional information below.
Test with CooQuery does work in IE 8.
http://moonhouse.se/temp/jquerytest/cooquery.html
Original issue reported on code.google.com by [email protected]
on 13 Jul 2010 at 11:05
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.