add fixme

This commit is contained in:
rolux 2012-06-02 11:20:55 +02:00
parent 23af95b611
commit 55c76942f9

View file

@ -523,6 +523,26 @@ Ox.sum = function(collection) {
return ret; return ret;
}; };
/* FIXME: do we need this kind of zip functionality?
Ox.arrayToObject = function(array, key) {
var ret = {};
array.forEach(function(v) {
ret[v[key]] = v;
});
return ret;
};
Ox.objectToArray = function(object, key) {
var ret = [];
Ox.forEach(object, function(v, k) {
ret.push(Ox.extend(v, key, k));
});
return ret
};
*/
/*@ /*@
Ox.values <f> Returns the values of a collection Ox.values <f> Returns the values of a collection
> Ox.values([1, 2, 3]) > Ox.values([1, 2, 3])