add to makefile

pull/223/head
Fabian Jakobs 2015-10-13 11:56:55 +00:00
rodzic cf02d0a1b8
commit 95012eb90a
1 zmienionych plików z 9 dodań i 0 usunięć

9
node_modules/c9/object.js wygenerowano vendored 100644
Wyświetl plik

@ -0,0 +1,9 @@
/*
* Swap keys and values of an object
*/
exports.invert = function(obj) {
return Object.keys(obj).reduce(function(res, key) {
res[obj[key]] = key;
return res;
}, {});
};