[OpenLayers-Trac] [OpenLayers] #740: ArgParser's Constructor takes Wrong Arguments

OpenLayers trac at openlayers.org
Tue Jun 5 17:23:45 EDT 2007


#740: ArgParser's Constructor takes Wrong Arguments
-------------------------------+--------------------------------------------
 Reporter:  euzuro             |       Owner:  euzuro     
     Type:  bug                |      Status:  new        
 Priority:  minor              |   Milestone:  2.5 Release
Component:  Control.ArgParser  |     Version:  2.4 RC5    
 Keywords:                     |  
-------------------------------+--------------------------------------------
 For whatever reason, ArgParser's constructor looks like:
 {{{
     /**
      * @constructor
      *
      * @param {DOMElement} element
      * @param {String} base
      */
     initialize: function(element, base) {
 }}}

 instead of:
 {{{
     /**
      * @constructor
      *
      * @param {Object} options
      */
     initialize: function(options) {
 }}}

 ...which is the standard constructor for an !OpenLayers.Control

-- 
Ticket URL: <http://trac.openlayers.org/ticket/740>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list