Jura Jura - 1 year ago 92
Javascript Question

Marionette - initialize event not firing

I'm have a basic Marionette app that looks like:

var App = new Marionette.Application();

App.on('initialize:after', function () {


When I run this nothing gets printed to the console. However, if I add

App.on('start', function () {

then it prints
. Does anyone know how to get the former to work?

Answer Source

Which version of marionette are you using? initialize:after has been renamed to start after version 1.0.0. See the changelog: https://github.com/marionettejs/backbone.marionette/blob/master/changelog.md#v100-rc1-view-commit-logs

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download