Opened 14 years ago

Last modified 14 years ago

#5810 closed defect

combine dojo.cookie and dojo.cookie.useObject — at Initial Version

Reported by: Adam Peller Owned by: Ben Lowery
Priority: high Milestone: 1.1
Component: General Version: 1.0
Keywords: Cc: jgarfield, dante
Blocked By: Blocking:


Ben, I think I asked you this already, and sorry I've forgotten... but why not just treat objects in dojo.cookie this way by default? It seems like if an object is passed into the regular dojo.cookie method, it gets serialized with toString() which is usually something worthless like [object Object] and would seem like a bug.

We could do this now for 1.1 and avoid a round of deprecation for useObject.

Change History (0)

Note: See TracTickets for help on using tickets.