Hi Fritz,
try to add @lint ignoreUndefined(canvascell, uploadwidget) to the API-Doc of
the method using the globals.
> Am I missing something? Or is #ignore being ignored by lint?
Its just a generator flag.
Tristan
Am 07.12.2011 um 09:26 schrieb Fritz Zaucker:
> Hi,
>
> I am getting the following warnings when running lint:
>
> .../source/class/bwt/ui/WorkloadTable.js (98,-3772): Use of undefined or
> global identifier 'canvascell'
> .../source/class/bwt/ui/Upload.js (95,-2742): Use of undefined or global
> identifier 'uploadwidget'
>
> The lines in question are:
>
> var form = win.__form = new uploadwidget.UploadForm("upload",
> bwt.data.Rpc.getInstance().getUrl());
> var barRenderer = new canvascell.Renderer(new bwt.ui.ColorBar(barCfg));
>
> I have the following ignores:
>
> /* ************************************************************************
> #ignore(canvascell)
> #ignore(canvascell.Renderer)
> ************************************************************************ */
>
> /* ************************************************************************
> #asset(qx/icon/${qx.icontheme}/16/actions/list-add.png)
> #asset(qx/icon/${qx.icontheme}/16/categories/internet.png)
> #asset(qx/icon/${qx.icontheme}/16/actions/dialog-cancel.png)
> #asset(qx/icon/${qx.icontheme}/16/actions/document-save.png)
> #ignore(uploadwidget)
> #ignore(uploadwidget.UploadForm)
> ************************************************************************ */
>
>
> Am I missing something? Or is #ignore being ignored by lint?
>
> Thanks,
> Fritz
>
> P.S.: This is with QX 1.5.
>
> --
> Oetiker+Partner AG tel: +41 62 775 9903 (direct)
> Fritz Zaucker +41 62 775 9900 (switch board)
> Aarweg 15 +41 79 675 0630 (mobile)
> CH-4600 Olten fax: +41 62 775 9905
> Schweiz web: www.oetiker.ch
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel