YUI.add('arraylist-filter', function (Y, NAME) { /** * Collection utilities beyond what is provided in the YUI core * @module collection * @submodule arraylist-filter * @deprecated Use ModelList or a custom subclass implementation */ /* * Adds filter method to ArrayList prototype */ Y.mix(Y.ArrayList.prototype, { /** *
Create a new ArrayList (or augmenting class instance) from a subset * of items as determined by the boolean function passed as the * argument. The original ArrayList is unchanged.
* *The validator signature is validator( item )
.