modules/org.openbravo.client.kernel/jslint/README.txt
changeset 9076 c4f1a5c7d7c2
child 13117 f9443ee9e2d0
equal deleted inserted replaced
9075:b3ea04de2722 9076:c4f1a5c7d7c2
       
     1 
       
     2 >> Enabling precommit checking:
       
     3 
       
     4 Add these lines to your hgrc file in the .hg directory in your module:
       
     5 
       
     6 [hooks]
       
     7 precommit = ../org.openbravo.client.kernel/jslint/jscheck
       
     8 
       
     9 >> Running jslint directly for a module
       
    10 To run jslint directly for a module, go to the module directory and do:
       
    11 
       
    12  ../org.openbravo.client.kernel/jslint/jscheck 
       
    13 
       
    14 NOTE:
       
    15 - it is possible that you have to set the executable flag on the jslint and jscheck scripts in org.openbravo.client.kernel/jslint.