Prefers arrow function over unnamed function

This commit is contained in:
Jared Tabor
2018-07-03 13:08:57 -07:00
parent 4c1bc49258
commit 580736e80d

View File

@@ -59,7 +59,7 @@ export default {
views: {
'@': {
templateUrl: indexTemplate,
controller: ['JobsStrings', function (strings) {
controller: ['JobsStrings', (strings) => {
const vm = this || {};
vm.strings = strings;
}],