From 5a4de48a6d63cb383832f6ef85b21699a511b755 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 25 May 2018 19:54:38 +0200 Subject: stubbing in a lot of stuff! --- app/client/util.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/client/util.js (limited to 'app/client/util.js') diff --git a/app/client/util.js b/app/client/util.js new file mode 100644 index 0000000..db9fa8c --- /dev/null +++ b/app/client/util.js @@ -0,0 +1,6 @@ +export function timeInSeconds(n){ + return (n / 10).toFixed(1) + ' s.' +} +export function gerund(s){ + return s.replace(/e?$/, 'ing') +} -- cgit v1.2.3-70-g09d2