UNPKG

compromise

Version:
24 lines (21 loc) 588 B
import methods from './methods/index.js' import model from './model/index.js' import compute from './compute/index.js' export default { compute, methods, model, hooks: ['alias', 'machine', 'index', 'id'], } // const plugin = function (world) { // let { methods, model, parsers } = world // Object.assign({}, methods, _methods) // Object.assign(model, _model) // methods.one.tokenize.fromString = tokenize // parsers.push('normal') // parsers.push('alias') // parsers.push('machine') // // extend View class // // addMethods(View) // } // export default plugin