Backbone.LeakChecker
Report leaky views in browser console.
Installation
npm
npm install backbone.leakchecker --save
bower
bower install backbone.leakchecker --save
component
Insert the following to the dependencies
section of your component.json
"aq1018/backbone.leakchecker": ">= 0.1.2"
Usage
require.js
// app.js;
browserify
// app.js // make sure this is run before everything else.; // your Application class goes here{ } moduleexports = ;
script tag
<!-- dependencies --> <!-- this lib --> <!-- include your app here -->