mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-02 14:11:48 -05:00
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