Changed functions to arrow functions for only-arrow-functions rule.

This commit is contained in:
Patrick O'Carroll
2018-09-04 17:02:32 +02:00
parent 0f326f18dc
commit dc4f547a40
36 changed files with 244 additions and 242 deletions

View File

@@ -126,7 +126,7 @@ export class PanelCtrl {
const editorTab = { title, directiveFn };
if (_.isString(directiveFn)) {
editorTab.directiveFn = function() {
editorTab.directiveFn = () => {
return { templateUrl: directiveFn };
};
}