Changeset [629580b37a4268870f085ce539acd657796db69f] by Joe Gornick

February 10th, 2009 @ 01:18 AM

fusejs: Updates to Array API [#15 state:resolved] [jddalton, Joe Gornick] Note: Backwards compatibility warning. - Added Array#insert method - Renamed methods: include -> contains, uniq -> unique - Removed methods: detect, reject, reverse - Removed aliases: all, any, collect, entries, find, findAll, member, select

  • Updated methods: Array#contains: Added a strict paramter for strict only comparisons.

Array#first: Add optional parameters to accept a number/iterator.

 * first(n): Returns an array containing the first n of the list.
 * first(iterator, [context]): Returns first item when iterator
   returns true.

Array#last: Add optional parameters to accept a number/iterator.

 * last(n): Returns an array containing the last n of the list.
 * last(iterator, [context]): Returns last item when iterator
   returns true.

Signed-off-by: John-David Dalton john.david.dalton@gmail.com http://github.com/jdalton/fusejs...

Committed by Joe Gornick

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.