Skip to content
Alexey Kupriyanenko edited this page Apr 13, 2015 · 1 revision

jBone.merge(first, second)

first The first array to merge, the elements of second added.

second The second array to merge into the first, unaltered.

Merge the contents of two arrays together into the first array.

jBone.extend(target[, object1][, objectN])

target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.

object1 An object containing additional properties to merge in.

objectN Additional objects containing properties to merge in.

Merge the contents of two or more objects together into the first object.

jBone.makeArray(obj)

obj Any object to turn into a native Array.

Convert an array-like object into a true JavaScript array.

jBone.unique(array)

array The Array of DOM elements.

Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.