1.0.1 • Published 9 years ago

ember-cli-dom-stats v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

ember-cli-dom-stats

npm version Ember Observer Score

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.

image

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

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.