diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 19:54:38 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 19:54:38 +0200 |
| commit | 5a4de48a6d63cb383832f6ef85b21699a511b755 (patch) | |
| tree | 4c4fd18d26f8b5c95a6788d138ed62869357c975 /app/client/util.js | |
| parent | 1a99af129427275c22e8276e75fa4b8da6602129 (diff) | |
stubbing in a lot of stuff!
Diffstat (limited to 'app/client/util.js')
| -rw-r--r-- | app/client/util.js | 6 |
1 files changed, 6 insertions, 0 deletions
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') +} |
