diff --git a/src/mmw/js/shim/backbone.marionette.js b/src/mmw/js/shim/backbone.marionette.js index b63529838..f7126536b 100644 --- a/src/mmw/js/shim/backbone.marionette.js +++ b/src/mmw/js/shim/backbone.marionette.js @@ -10,4 +10,9 @@ Backbone.Marionette.Renderer.render = function(template, data) { return template(data); }; +// Expose Backbone and Marionette for the Marionette Inspector +if (window.__agent) { + window.__agent.start(Backbone, Marionette); +} + module.exports = Marionette;