dist/toolkit.js
function(type, callbacks) {
        $.each(callbacks, function(i, callback) {
            this.addHook(type, callback);
        }.bind(this));
    }
function(type, callbacks) {
        $.each(callbacks, function(i, callback) {
            this.addHook(type, callback);
        }.bind(this));
    }
function ( type , callbacks ) { $ . each ( callbacks , function ( i , callback ) { this . addHook ( type , callback ) ; } . bind ( this ) ) ; }
Add multiple hooks for a type.

@param {String} type
@param {Array} callbacks
Add multiple hooks for a type .