Skip to content

Commit

Permalink
Merge pull request #61 from caseypt/feature/add-inspector-support
Browse files Browse the repository at this point in the history
Add support for the Marionette Inspector.
  • Loading branch information
Casey Thomas committed Apr 16, 2015
2 parents 94a5945 + 7dfed7a commit 36e0216
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mmw/js/shim/backbone.marionette.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 36e0216

Please sign in to comment.