mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
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:
parent
3af771bca3
commit
2fcb5a1ae4
7
Makefile
7
Makefile
@ -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:
|
||||
|
||||
18
awx/ui/static/js/awx-min.js
vendored
18
awx/ui/static/js/awx-min.js
vendored
File diff suppressed because one or more lines are too long
@ -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'])
|
||||
});
|
||||
};
|
||||
}
|
||||
]);
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user