Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [2e5c673335d76efcbb7c6ae931370e4001a2ffc9] by Joe Gornick

Revision 2e5c673335d76efcbb7c6ae931370e4001a2ffc9, committed by Joe Gornick · February 11th, 2009 @ 12:44 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...