From a45960993d7e216fd06f01b41d64b8cfb277f528 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Wed, 25 Oct 2017 15:55:35 +0800 Subject: [PATCH] fix(core): fixed esslint warning --- .../client/controllers/collections-view.client.controller.js | 4 ++-- .../client/controllers/collections.client.controller.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/collections/client/controllers/collections-view.client.controller.js b/modules/collections/client/controllers/collections-view.client.controller.js index 0ddb7f4a..d808772d 100644 --- a/modules/collections/client/controllers/collections-view.client.controller.js +++ b/modules/collections/client/controllers/collections-view.client.controller.js @@ -62,8 +62,8 @@ */ vm.getMinMaxRelease = function () { return { - min: vm.release.length>0 ? Math.min.apply(null, vm.release) : '', - max: vm.release.length>0 ? Math.max.apply(null, vm.release) : '' + min: vm.release.length > 0 ? Math.min.apply(null, vm.release) : '', + max: vm.release.length > 0 ? Math.max.apply(null, vm.release) : '' }; }; diff --git a/modules/collections/client/controllers/collections.client.controller.js b/modules/collections/client/controllers/collections.client.controller.js index 40ff1d44..ec440fe7 100644 --- a/modules/collections/client/controllers/collections.client.controller.js +++ b/modules/collections/client/controllers/collections.client.controller.js @@ -91,8 +91,8 @@ }); return { - min: re.length>0 ? Math.min.apply(null, re) : '', - max: re.length>0 ? Math.max.apply(null, re) : '' + min: re.length > 0 ? Math.min.apply(null, re) : '', + max: re.length > 0 ? Math.max.apply(null, re) : '' }; };