[Proto-Scripty] Re: storying and destroying metadata
1.7 rc2 is supposed to handle the cleanup for you in most cases. See http://www.prototypejs.org/2010/5/13/prototype-1-7-rc2 (use Element.purge) On May 21, 1:06 am, orbiter wrote: > I recently discovered Element.store and Element.retrieve and I'm > wondering a little about the semantics. Mainly I'm interested in the > following use case: If I store some data and then delete the object on > which I stored the data from the DOM tree what happens to the stored > data? Do I need to worry about explicitly cleaning up everything I've > stored before deleting the object or is that taken care of > automatically? > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to prototype-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: storying and destroying metadata
@Gregory: It's in 1.7. The current docs seem to have it: http://api.prototypejs.org/dom/element/store/ Before too long, some nice stuff Tobie's been doing will go live and it'll be easier to refer to the docs for the specific version you're using. -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On May 23, 8:55 pm, Gregory Nicholas wrote: > what version of prototype are you using? i cant find it in the docs > > On May 21, 12:06 am, orbiter wrote: > > > I recently discovered Element.store and Element.retrieve and I'm > > wondering a little about the semantics. Mainly I'm interested in the > > following use case: If I store some data and then delete the object on > > which I stored the data from the DOM tree what happens to the stored > > data? Do I need to worry about explicitly cleaning up everything I've > > stored before deleting the object or is that taken care of > > automatically? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Prototype & script.aculo.us" group. > > To post to this group, send email to > > prototype-scriptacul...@googlegroups.com. > > To unsubscribe from this group, send email to > > prototype-scriptaculous+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to prototype-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: storying and destroying metadata
what version of prototype are you using? i cant find it in the docs On May 21, 12:06 am, orbiter wrote: > I recently discovered Element.store and Element.retrieve and I'm > wondering a little about the semantics. Mainly I'm interested in the > following use case: If I store some data and then delete the object on > which I stored the data from the DOM tree what happens to the stored > data? Do I need to worry about explicitly cleaning up everything I've > stored before deleting the object or is that taken care of > automatically? > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to prototype-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.