incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-530) Run jslint/jshint in cordova-js every time you build
Date Wed, 18 Apr 2012 02:41:13 GMT


Patrick Mueller commented on CB-530:

I can only guess that you're suggesting this be added to the cordova-js Jakefile, but the
subject reads like you're expecting people to run it by hand.  Just curious.

Also, if it's JUST to catch simple syntax errors, then there might be easier stories.  For
instance, what happens if you "run" the cordova-*.js files with node, right now?  I suspect
they'll start complaining about "window" etal.  We could, however, change the structure of
the resulting file such that there really wasn't much directly executable code - make sure
almost everything was wrapped in functions, and then sniff for node in the "main" executable
part and just not execute whatever would be executed in the browser (or sniff for "window",
> Run jslint/jshint in cordova-js every time you build
> ----------------------------------------------------
>                 Key: CB-530
>                 URL:
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: CordovaJS
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 1.7.0
> Just to catch simple syntax errors.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message