[daisy] [JIRA] Created: (DSY-442) Perform javascript syntax checking ( before submitting document-tasks, in workflow definitions, with the daisy-js task)

Marc Portier (JIRA) issues at cocoondev.org
Thu Apr 5 09:43:20 CDT 2007


Perform javascript syntax checking ( before submitting document-tasks, in workflow definitions, with the daisy-js task)
-----------------------------------------------------------------------------------------------------------------------

         Key: DSY-442
         URL: http://issues.cocoondev.org//browse/DSY-442
     Project: Daisy
        Type: Feature Wish
 Reporter: Marc Portier
    Priority: Minor


Currently the round trip for seeing stupid syntax errors in the javascript used in Daisy at diferent locations is rather lengthy.

This could be improved by using a syntac checker like jslint [1]

* for the document tasks this could even be done ajax-like in the client to optimise the roundtrip
* daisy-js could get a -check option
* workflow definition javascript could be checked during th workflow validation process.

NOTE: since we don't want to be dependant on the quality and up-to-dateness of this external jslint project, this feature should be optional (checkbox) so to allow submission of 'unchecked' but good-anyway (newer) javascript syntax.


[1] http://www.jslint.com/lint.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list