Hi Gary,

Thanks for catching this: https://github.com/geoext/geoext2/commit/a36d58dc13a87dceb4aff59651d0eec2c405ef0d

Regards,
Marc

On 14.11.2012 08:07, Gary White wrote:

Hello everyone,

FYSA - I get the following warning when running jsduck against geoext2:

C:\Download\GIS\GeoExt\geoext2>jsduck --config jsduck.json

Warning: C:\Download\GIS\GeoExt\geoext2\src\GeoExt\plugins\PrintPageField.js:93: Duplicate parameter name target

The offending section of code is as follows:

    /**

     * @private

     * @param {Ext.form.Field} target The component that this plugin

     *  extends.

     * @param {Object} target

     */

    init: function(target) {

The docs are generated but I'm not sure that the output for the init function is what is desired as the target parameter is duplicated:

init( target, target )

Parameters

target : Ext.form.Field

The component that this plugin extends.

target : Object

Cheers,

Gary



_______________________________________________
Dev mailing list
Dev@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/dev


--

  Dipl.-Geogr. Marc Jansen
  --- Anwendungsentwickler ---

  terrestris GmbH & Co. KG
  Pützchens Chaussee 56
  53227 Bonn

  Tel:   +49 (0)228 / 96 28 99 -53
  Fax:   +49 (0)228 / 96 28 99 -57

  Email: jan...@terrestris.de
  Web:   http://www.terrestris.de

  Amtsgericht Bonn, HRA 6835, Komplementärin: terrestris Verwaltungs-
  gesellschaft mbH, vertreten durch: Hinrich Paulsen, Till Adams

_______________________________________________
Dev mailing list
Dev@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to