Skip to content

Instantly share code, notes, and snippets.

@allometry
Created April 18, 2011 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allometry/925649 to your computer and use it in GitHub Desktop.
Save allometry/925649 to your computer and use it in GitHub Desktop.
SplitChild Mixin Exception
// ==========================================================================
// Project: Resumes - mainPage
// Copyright: ©2011 My Company, Inc.
// ==========================================================================
/*globals Resumes */
// This page describes the main user interface for your application.
Resumes.mainPage = SC.Page.design({
mainPane: SC.MainPane.design({
childViews: 'splitView'.w(),
splitView: SC.SplitView.design({
childViews: 'leftPanel rightPanel'.w(),
leftPanel: SC.View.design(SC.SplitChild, {
minimumSize: 200
}),
rightPanel: SC.View.design(SC.SplitChild, {
autoResizeStyle: SC.RESIZE_AUTOMATIC
})
})
})
});
@allometry
Copy link
Author

Uncaught exception: SC.Object.extend expects a non-null value. Did you forget to 'sc_require' something? Or were you passing a Protocol to extend() as if it were a mixin?

@allometry
Copy link
Author

Exception is being thrown with the SC.SplitChild mixin. This is straight from the edge docs. No further information is given on how to resolve...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment