ityndall-ue636x8T32g@public.gmane.org
2007-Oct-25 15:23 UTC
Help with return value on custom class
I''m making a prototype cookie class, and I''m close to done.
However, I''m running into an issue with returning a value.
Example page: http://ianty.com/proto/test/functional/cookietest.html
class in question:
http://ianty.com/proto/src/cookie.js
In the example page, the following code:
// get the cookie
upd($C(''animal''));
I''m expecting a single return value, and not an object.
I have a feeling this is because of the $C shortcut I made.
Any suggestions or thoughts?
Thanks,
Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---