Reputation: 1653
I'm going through the docs and trying to set up a Backbone.Marionette.Layout
in my application, but I keep getting a Cannot read property 'extend' of undefined
error.
So I went through the source of the Marionette library on my server and couldn't find a definition for Layout
anywhere. Which is odd since it's all over the docs. The layoutView
works just fine and I can see the definition for that in the source.
I updated Maionette again, just to be sure I had the latest version, it's at 2.3.0 right now.
Here are some places where Layout is discussed as existing:
I'm wondering if just a plain Layout
has been deprecated, or if the docs are maybe using some sort of short hand and layoutView
is actually what's being defined. Or if I'm just missing something.
Upvotes: 0
Views: 146
Reputation: 1017
As of version 2.0.0, Layout has been renamed to LayoutView and here's the current docs
Upvotes: 2