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 [27cf82e1d34a42032b0b1a1e4c36be1c716a05be] by Brian Donovan

Revision 27cf82e1d34a42032b0b1a1e4c36be1c716a05be, committed by Brian Donovan · April 13th, 2011 @ 06:18 PM

Use our internal setter while initializing to make sure arrangedObjects is properly observable.

This fixes both the case I reported earlier (#1174) and a new issue I found where attempting to bind to a CPArrayController's arrangedObjects before calling -setContent: would throw this exception:

Uncaught CPInvalidArgumentException: Unsupported method on CPArray

The reason for this exception is that the old implementation set arrangedObjects to an instance of CPJavaScriptArray, whereas the new one will set it to a _CPObservableArray.
https://github.com/280north/cappuccino/commit/27cf82e1d34a42032b0b1...

1 changed file

  • M AppKit/CPArrayController.j