One more: 

Changed -

return !isUndefined(this.jar[c_id]);

To

return !(typeof (this.jar[c_id]) == 'undefined');

Maybe you had functions for all these but forgot to include them in your email 
:)

Thank you,
Mandy.

-----Original Message-----
From: Maninder, Singh 
Sent: Thursday, January 12, 2006 9:34 PM
To: '[email protected]'
Subject: RE: [Rails-spinoffs] Prototype & Cookies


This is a good start for me Martin.

Going through it now...

First shot at running it gave me errors for isString being not defined.

I changed it for both get & set methods 

FROM:

if(isString(document.cookie)){

TO:

if(typeof (document.cookie) == 'string'){

This seems to have stopped the error now.

Looking into the usage.

Thank you,
Mandy.
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to