I tried to run component examples but got this error
undefined:2
framework.component('grid').configure({ class: 'grid' });
^
TypeError: Object #<EventEmitter> has no method 'component'
at eval (eval at <anonymous> (/home/arief/node_modules/total.js/index.js:1:12553), <anonymous>:2:11)
at /home/arief/node_modules/total.js/index.js:1:12464
at Array.forEach (native)
at EventEmitter.Framework.install (/home/arief/node_modules/total.js/index.js:1:12384)
at EventEmitter.Framework.init (/home/arief/node_modules/total.js/index.js:2:12811)
at EventEmitter.Framework.run (/home/arief/node_modules/total.js/index.js:2:14553)
at Object.<anonymous> (/home/arief/web/examples-master/components/index.js:5:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)