dist/jsmart.js
function (type, name, callback) {
      if (type === 'modifier') {
        this.modifiers[name] = callback
      } else {
        this.plugins[name] = {'type': type, 'process': callback}
      }
    }
function (type, name, callback) {
      if (type === 'modifier') {
        this.modifiers[name] = callback
      } else {
        this.plugins[name] = {'type': type, 'process': callback}
      }
    }
function ( type , name , callback ) { if ( type === 'modifier' ) { this . modifiers [ name ] = callback } else { this . plugins [ name ] = { 'type' : type , 'process' : callback } } }
Register a plugin.
Register a plugin .