From 485ef528b7ae5ba39bcdf2ccbace5c3688a0120e Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 5 Oct 2017 08:59:16 +0200 Subject: [PATCH] correct eslint errors in the commited files --- client/core/src/radio/radio.js | 6 +++--- client/core/src/radio/radio.mdl.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/core/src/radio/radio.js b/client/core/src/radio/radio.js index 77e388927..b23abdfd0 100644 --- a/client/core/src/radio/radio.js +++ b/client/core/src/radio/radio.js @@ -7,12 +7,12 @@ export const NAME = util.getName(_NAME); directive.$inject = [resolveFactory.NAME]; export function directive(resolve) { - return{ + return { restrict: 'E', template: function(_, attrs) { - return resolve.getTemplate(_NAME, attrs); + return resolve.getTemplate(_NAME, attrs); } - } + }; } _module.directive(NAME, directive); diff --git a/client/core/src/radio/radio.mdl.js b/client/core/src/radio/radio.mdl.js index 6c0ccc9f4..135c32538 100644 --- a/client/core/src/radio/radio.mdl.js +++ b/client/core/src/radio/radio.mdl.js @@ -15,7 +15,7 @@ export function factory() { enabled: 'true', className: DEFAULT_CLASS } - } + }; } _module.factory(NAME, factory);