From 5c53199434b2400a726956e2bc952e68bf50c4a8 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 21 Feb 2018 17:57:49 -0800 Subject: [PATCH] lint fix --- routes/_utils/marks.js | 6 +++--- routes/_utils/thunk.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/routes/_utils/marks.js b/routes/_utils/marks.js index 5614767..2108ff0 100644 --- a/routes/_utils/marks.js +++ b/routes/_utils/marks.js @@ -12,15 +12,15 @@ const enabled = thunk(() => process.browser && const perf = process.browser && performance -export function mark(name) { +export function mark (name) { if (enabled()) { perf.mark(`start ${name}`) } } -export function stop(name) { +export function stop (name) { if (enabled()) { perf.mark(`end ${name}`) perf.measure(name, `start ${name}`, `end ${name}`) } -} \ No newline at end of file +} diff --git a/routes/_utils/thunk.js b/routes/_utils/thunk.js index bd15a80..153be56 100644 --- a/routes/_utils/thunk.js +++ b/routes/_utils/thunk.js @@ -1,4 +1,4 @@ -export function thunk(fn) { +export function thunk (fn) { let value let called return () => { @@ -8,4 +8,4 @@ export function thunk(fn) { } return value } -} \ No newline at end of file +}