details:   https://code.openbravo.com/erp/devel/pi/rev/d954e7171ce7
changeset: 26106:d954e7171ce7
user:      Rafa Alonso <rafael.alonso <at> openbravo.com>
date:      Mon Mar 02 15:03:54 2015 +0100
summary:   Related to issue 29103: Exclude the vendor directory from the jsLint 
check list

The problem is that external libs do not follow javascript linter rules

In this case, the non-minified javascript file has been edited to be linter 
compliant

diffstat:

 modules/org.openbravo.client.kernel/jslint/jscheck-module-hg |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 694b153db283 -r d954e7171ce7 
modules/org.openbravo.client.kernel/jslint/jscheck-module-hg
--- a/modules/org.openbravo.client.kernel/jslint/jscheck-module-hg      Fri Feb 
20 09:46:32 2015 +0100
+++ b/modules/org.openbravo.client.kernel/jslint/jscheck-module-hg      Mon Mar 
02 15:03:54 2015 +0100
@@ -4,7 +4,7 @@
 echo "Performing jslint check on modified js resources"
 for i in $(hg log -r $HG_NODE --template '{files}')
 do
-       if [[ $i == *enyo* ]]
+       if [[ $i == *vendor* ]]
        then
          echo "Skipping " $i;
        else

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to