addyosmani / addyosmani/backbone-fundamentals

Problems in chapter "MarionetteJS (Backbone.Marionette)"

Offen
#467 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Rich Text Format
Sterne
9.2k
Forks
1.4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am new to Backbone and I was hoping to read on Marionette, but I noticed few problematic things:

The part explaining about Marionette's Layout is very unclear to me in general. Looking in the documentation of Marionette I see different usage than the one described in this book (e.g. there is an attribute `regions` defined within the Layout and in the book it is missing).
Also this chapter states that the Header is a Layout, but the source code afterwards extends from `Marionette.ItemView`.

```
// Layout Header View
// ------------------

Layout.Header = Marionette.ItemView.extend({
```

Otherwise, thanks for the efforts and the book looks great so far!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.