Skip to content

Instantly share code, notes, and snippets.

@erichocean
Created October 8, 2008 00:33
Show Gist options
  • Save erichocean/15419 to your computer and use it in GitHub Desktop.
Save erichocean/15419 to your computer and use it in GitHub Desktop.
// ==========================================================================
// OI.MailboxController
// ==========================================================================
require('core');
/** @class
(Document Your View Here)
@extends SC.ObjectController
@author AuthorName
@version 0.1
@static
*/
OI.mailboxController = SC.ObjectController.create(
/** @scope OI.mailboxController */ {
allowsMultipleContent: false,
contentBinding: 'OI.mailboxesController.selection',
contentBindingDefault: SC.Binding.Single // shouldn't be necessary, but is *grrr* (strips the outer array)
}) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment