More updates to contributing doc. Added Grunt to Makefile. Use lintjs to inspect .js files for lint and errors. Use minjs to compile and compress the .js and .less files.

This commit is contained in:
Chris Houseknecht 2014-02-12 22:19:30 +00:00
parent 3af771bca3
commit 2fcb5a1ae4
3 changed files with 21 additions and 7 deletions

View File

@ -139,7 +139,12 @@ test_jenkins:
# Build minified JS/CSS.
minjs:
(cd tools/ui/ && ./compile.sh)
grunt
# Check .js files for errors and lint
lintjs:
grunt jshint
# Build a pip-installable package into dist/ with a timestamped version number.
dev_build:

File diff suppressed because one or more lines are too long

View File

@ -69,7 +69,6 @@ angular.module('SelectionHelper', ['Utilities', 'RestServices'])
}
}
if (selected.length > 0) {
console.log('selected.length: ' + selected.length);
scope.formModalActionDisabled = false;
scope.disableSelectBtn = false;
} else {
@ -171,4 +170,4 @@ angular.module('SelectionHelper', ['Utilities', 'RestServices'])
});
};
}
]);
]);