- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- Added
Y.Array.flatten()
. This method flattens arrays of arrays into a single flat array.
-
[!] The
sort
parameter ofArray.unique()
has been removed. This parameter was deprecated in YUI 3.3.0. -
Array.unique()
now accepts an optional test function as its second parameter. This function can perform custom comparison logic to determine whether two values should be considered equal. [Ticket #2527901] -
The
every()
,filter()
,map()
, andreduce()
functions now work correctly on array-like objects in ES5 browsers. [Ticket #2531652]
- No changes.
-
YUI now detects non-native ES5 shims added to native objects by other libraries and falls back to its own internal shims rather than relying on the potentially broken code from the other library.
-
Deprecated arraylist-add and arraylist-filter in favor of individual subclass implementations or ModelList.
- Sparse arrays are now handled correctly in the non-native fallback
implementation of
Y.Array.lastIndexOf()
. [Ticket #2530966]
- Sparse arrays are now handled correctly in the non-native implementations of
Array.every
,Array.filter
,Array.find
,Array.map
, andArray.reduce
. [Ticket #2530376]
-
[!] The
sort
parameter ofArray.unique
has been deprecated. It still works, but you're encouraged not to use it as it will be removed from a future version of YUI. -
Array.lastIndexOf
now supports thefromIndex
parameter as specified in ES5. -
Improved the performance of
Array.filter
,Array.map
,Array.reduce
, andArray.unique
, especially in browsers without native ES5 array extras.
- No changes.
- No changes.
-
array-extras
is the base submodule for the package. -
Added
ArrayList
for generic iterable objects. -
Array.forEach
is an alias forArray.each
. -
Added
Array.invoke
to execute a named method on an array of objects.
unique
withsort
works.
- Fixed load time fork assumptions.
- Initial release.