dist/jsmart.js
function (type, callback) {
      (this.tree ? this.filters : jSmart.prototype.filtersGlobal)[((type === 'output') ? 'post' : type)].push(callback)
    }
function (type, callback) {
      (this.tree ? this.filters : jSmart.prototype.filtersGlobal)[((type === 'output') ? 'post' : type)].push(callback)
    }
function ( type , callback ) { ( this . tree ? this . filters : jSmart . prototype . filtersGlobal ) [ ( ( type === 'output' ) ? 'post' : type ) ] . push ( callback ) }
Register a filter.
Register a filter .