From 580736e80de976344c83227925583d25b10e568c Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 3 Jul 2018 13:08:57 -0700 Subject: [PATCH] Prefers arrow function over unnamed function --- awx/ui/client/features/jobs/routes/jobs.route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/features/jobs/routes/jobs.route.js b/awx/ui/client/features/jobs/routes/jobs.route.js index 37c3946c99..e2adf9af09 100644 --- a/awx/ui/client/features/jobs/routes/jobs.route.js +++ b/awx/ui/client/features/jobs/routes/jobs.route.js @@ -59,7 +59,7 @@ export default { views: { '@': { templateUrl: indexTemplate, - controller: ['JobsStrings', function (strings) { + controller: ['JobsStrings', (strings) => { const vm = this || {}; vm.strings = strings; }],