Introduce client settings

This commit is contained in:
John Furrow
2016-06-06 21:01:10 -07:00
parent 30d75c124b
commit 02c3b5e4b0
27 changed files with 907 additions and 206 deletions

13
shared/util/objectUtil.js Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
let objectUtil = {
reflect: (hash) => {
return Object.keys(hash).reduce((memo, key) => {
memo[key] = hash[key];
memo[hash[key]] = key;
return memo;
}, {});
}
}
module.exports = objectUtil;