1.0.1 • Published 9 years ago
ember-cli-dom-stats v1.0.1
ember-cli-dom-stats
A quick hack to display the total DOM element count and the delta in a small window similar to (and totally based on) ember-browsery-stats and paulirish's memory-stats.js
I highly recommend you use ember-browsery-stats with this, since I coded the litle stats box to sit to the left of browsery-stats.
Demo
You can find a very crude demo at http://ember-cli-dom-stats-demo.divshot.io/
The DOM count is displayed on the bottom right of the browser
Installation
ember install ember-cli-dom-stats
- To conditionally enable this addon only while in development:
// Brocfile.js
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp({
domStats: EmberApp.env() === 'development'
});
module.exports = app;
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.