[OpenLayers-Trac] Re: [OpenLayers] #2899: Remove overhead from OpenLayers.Class

OpenLayers trac-20090302 at openlayers.org
Fri Oct 22 08:19:37 EDT 2010


#2899: Remove overhead from OpenLayers.Class
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  general   |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------

Comment(by ahocevar):

 @erilem: The OpenLayers.inherit function in my patch is taken as-is from
 your original post on the thread liked from the description. And no need
 to worry about "this" there, you could also use "null". The
 OpenLayers.inherit function does not need a scope. But since we are
 dealing with an unknown number of arguments, we cannot just do {{{C =
 OpenLayers.inherit(...?..?...)}}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2899#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list