lib/createChain.js
function CustomChain(callback) {
        if (!(this instanceof CustomChain)) {
            return new CustomChain(callback);
        }
        CustomChain.super_.call(this, callback);
        CustomChain._lists.forEach(function(listName) {
            this._result[listName] = [];
        }, this);
    }
function CustomChain(callback) {
        if (!(this instanceof CustomChain)) {
            return new CustomChain(callback);
        }
        CustomChain.super_.call(this, callback);
        CustomChain._lists.forEach(function(listName) {
            this._result[listName] = [];
        }, this);
    }
function CustomChain ( callback ) { if ( ! ( this instanceof CustomChain ) ) { return new CustomChain ( callback ) ; } CustomChain . super_ . call ( this , callback ) ; CustomChain . _lists . forEach ( function ( listName ) { this . _result [ listName ] = [ ] ; } , this ) ; }
Create the Chain class.
Create the Chain class .