diff --git a/source/Ox/js/Collection.js b/source/Ox/js/Collection.js index 03ec6c59..272c516d 100644 --- a/source/Ox/js/Collection.js +++ b/source/Ox/js/Collection.js @@ -28,8 +28,7 @@ Ox.clone Returns a (shallow or deep) copy of an array or object > (function() { var a = [[0, 1]], b = Ox.clone(a, true); a[0][0] = null; return b[0]; }()) [0, 1] @*/ -Ox.clone = Ox.copy = function(collection, deep) { - // fixme: copy or clone? +Ox.clone = function(collection, deep) { var ret, type = Ox.typeOf(collection); if (deep) { ret = type == 'array' ? [] : {};