History log of /yui3/src/yui/tests/array-test.js
Revision Date Author Comments Expand
d5f407f728b461f7362049b93dd6754a1ad8a24f 06-Feb-2012 Ryan Grove <ryan@wonko.com>

Make Y.Array.indexOf()'s fromIndex param fully ES5-compatible.

97ab26e5f393dc5993135ae207ccc137ce3c7008 05-Feb-2012 Ryuichi Okumura <okuryu@okuryu.com>

Added fromIndex argument to Array.indexOf() method.

c766f402e7da216af1abd318198031ce3d707268 25-Aug-2011 Ryan Grove <ryan@wonko.com>

Support sparse arrays correctly in the non-native Y.Array.indexOf() and Y.Array.lastIndexOf(). [Fixes #2530966]

701eda2eb4521a1f3fb46f0d6aa587433a9ccbb7 01-Jun-2011 Ryan Grove <ryan@wonko.com>

Handle sparse arrays correctly in array methods. [Fixes #2530376] The non-native implementations of the following methods were modified to handle sparse arrays correctly: - Y.Array.each - Y.Array.every - Y.Array.filter - Y.Array.find - Y.Array.hash - Y.Array.map - Y.Array.reduce - Y.Array.some

424a2a4dfca6e9c03da66f158c177ef2a4826a9d 27-May-2011 Ryan Grove <ryan@wonko.com>

Add Y.Array.dedupe(). This method provides a fast deduping implementation for arrays that contain only strings. To dedupe an array that may contain values that aren't strings, use Y.Array.unique().

66abd057e65a9ca9398fbce05417fd1c6a99a5a8 14-May-2011 Ryan Grove <ryan@wonko.com>

Move Y.Array.forEach alias to yui-array.js where it belongs.

c10296bbdbfbe582ff454be77952d702e261484c 08-May-2011 Ryan Grove <ryan@wonko.com>

Refactor Y.Array unit tests and add a bunch of missing tests.