instantiable-fastdom

0.1.5 • Public • Published

instantiable-fastdom Build Status

Allow fastdom to be instantiable so you can clear groups of jobs.

Code adapted from 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();

/instantiable-fastdom/

    Package Sidebar

    Install

    npm i instantiable-fastdom

    Weekly Downloads

    3

    Version

    0.1.5

    License

    MIT

    Last publish

    Collaborators

    • ftlabs
    • kornel
    • mattandrews