README.md
# instantiable-fastdom
Allow fastdom to be instantiable so you can clear groups of jobs.
[![Build Status](https://travis-ci.org/orangemug/instantiable-fastdom.svg?branch=master)](https://travis-ci.org/orangemug/instantiable-fastdom)
[![Test Coverage](https://codeclimate.com/github/orangemug/instantiable-fastdom/badges/coverage.svg)](https://codeclimate.com/github/orangemug/instantiable-fastdom/coverage)
[![Code Climate](https://codeclimate.com/github/orangemug/instantiable-fastdom/badges/gpa.svg)](https://codeclimate.com/github/orangemug/instantiable-fastdom)
[![Dependency Status](https://david-dm.org/orangemug/instantiable-fastdom.svg)](https://david-dm.org/orangemug/instantiable-fastdom)
[![Dev Dependency Status](https://david-dm.org/orangemug/instantiable-fastdom/dev-status.svg)](https://david-dm.org/orangemug/instantiable-fastdom#info=devDependencies)
Code adapted from [fruitmachine-fastdom](https://github.com/ftlabs/fruitmachine-fastdom).
## Installation
npm install instantiable-fastdom
## Example
var Fastdom = require("instantiable-fastdom");
var fd1 = new Fastdom();
var fd2 = new Fastdom();
fd1.write(fn); // Never gets called
fd2.write(fn); // Gets called
fd1.clear();