mirror of
https://github.com/ansible/awx.git
synced 2026-03-14 07:27:28 -02:30
Prefers arrow function over unnamed function
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
views: {
|
||||
'@': {
|
||||
templateUrl: indexTemplate,
|
||||
controller: ['JobsStrings', function (strings) {
|
||||
controller: ['JobsStrings', (strings) => {
|
||||
const vm = this || {};
|
||||
vm.strings = strings;
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user