[
https://issues.apache.org/jira/browse/CB-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256154#comment-13256154
]
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", etc).
> Run jslint/jshint in cordova-js every time you build
> ----------------------------------------------------
>
> Key: CB-530
> URL: https://issues.apache.org/jira/browse/CB-530
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira