mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 07:51:23 -03:30
Prefers arrow function over unnamed function
This commit is contained in:
parent
4c1bc49258
commit
580736e80d
@ -59,7 +59,7 @@ export default {
|
||||
views: {
|
||||
'@': {
|
||||
templateUrl: indexTemplate,
|
||||
controller: ['JobsStrings', function (strings) {
|
||||
controller: ['JobsStrings', (strings) => {
|
||||
const vm = this || {};
|
||||
vm.strings = strings;
|
||||
}],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user