I use something similar in WebWidgetry's object model (dispose in my case
instead of destroy)... never saw OpenLayers.


On 9/24/07, Les <[EMAIL PROTECTED]> wrote:
>
>
> Ryan,
>
> Did you notice that each OpenLayers class has a destructor (destroy)
> and a property denoting the class name?
>
> I don't see such a destructor in Prototype or Dojo, see below:
>
> OpenLayers.Map = OpenLayers.Class({
> ....
>     initialize: function (div, options) {
>     },
> ....
>     destroy:function() {
>     },
>     CLASS_NAME: "OpenLayers.Map"
> });
>
>
> >
>


-- 
Ryan Gahl
Manager, Senior Software Engineer
Nth Penguin, LLC
http://www.nthpenguin.com
--
Architect
WebWidgetry.com / MashupStudio.com
Future Home of the World's First Complete Web Platform
--
Inquire: 1-262-951-6727
Blog: http://www.someElement.com
LinkedIn Profile: http://www.linkedin.com/in/ryangahl

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to