From 614fe8e3fdc154d99b79ff4dbfc3670a7cf925d1 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 20 Feb 2015 18:00:19 -0500 Subject: [PATCH] fixing jshint warning unused params don't need to be included ` --- awx/ui/static/js/helpers/ConfigureTower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/helpers/ConfigureTower.js b/awx/ui/static/js/helpers/ConfigureTower.js index a0659fd60c..c4e3066629 100644 --- a/awx/ui/static/js/helpers/ConfigureTower.js +++ b/awx/ui/static/js/helpers/ConfigureTower.js @@ -154,7 +154,7 @@ export default // this is a work-around for getting awMax to work (without // clearing out the form) - scope.$watch('days_to_keep', function(newVal, oldVal, scope) { + scope.$watch('days_to_keep', function(newVal) { // oldVal, scope) { // unused params get caught by jshint if (!newVal) { $('#prompt-for-days-launch').prop("disabled", true); } else if (isNaN(newVal)) {