From df67c3792421fb4c436bc68ae77ae31f0194caa6 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 23 May 2012 09:01:36 +0200 Subject: [PATCH] update docs --- source/Ox/js/Array.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Ox/js/Array.js b/source/Ox/js/Array.js index 91a46ec5..c3325f1c 100644 --- a/source/Ox/js/Array.js +++ b/source/Ox/js/Array.js @@ -329,6 +329,7 @@ Ox.api = function(items, options) { /*@ Ox.compact Removes null or undefined values + (arr) -> Array > Ox.compact([null,,1,,2,,3]) [1, 2, 3] @*/ @@ -340,6 +341,7 @@ Ox.compact = function(arr) { /*@ Ox.flatten Flattens an array + (arr) -> Array > Ox.flatten([1, [2, [3], 2], 1]) [1, 2, 3, 2, 1] @*/ @@ -366,6 +368,7 @@ Ox.indexOf = function(arr) { /*@ Ox.merge Merges an array with one or more other arrays For convenience, literals are treated as arrays with one element + (arr, arr[, arr[, ...]]) -> Array > Ox.merge([1], [2, 3, 2], [1]) [1, 2, 3, 2, 1] > Ox.merge(1, [2, 3, 2], 1)