[OpenLayers-Trac] [OpenLayers] #740: ArgParser's Constructor takes Wrong Arguments
OpenLayers
trac at openlayers.org
Tue Jun 5 17:25:59 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
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Old description:
> 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
New description:
For whatever reason, [wiki:Control/ArgParser 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#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list