I have been trying to suppress spurious Lint warnings from my code
interacting with the Chrome browser plugin framework.  The
documentation I have found on the qooxdoo website appears to be out of
date regarding lint and its warnings.  When the code was integrated
with my application I was able to suppress the warnings both at build
time and while running lint by using two different commands:

@lint ignoreUndefined(chrome)
@lint ignoreGlobal(chrome.extension)

However, now that I have segregated that portion of my code into a
separate "library" those two lint directives are again being ignored
and the code generates a warning during build and lint time.  The line
in question reads
> chrome.extension.sendRequest(backArgs);
and the warning message while building says
> Warning: Hint: Unknown global symbol referenced: chrome.extension 
> (qxchrome.backend.Service:84)
and during lint the lint parser cannot even resolve the external
library, so it complains about the line
> extend : qxchrome.backend.Service
by saying
> SupplierService.js (13,17): Use of undefined or global identifier 'qxchrome'.

Any suggestions on how to suppress the warning during build, so that
the contrib library does not produce warnings for someone using it?

--Greg

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to