Various changes to undercards, an undertale fan-made card game.
This project is maintained by feildmaster
Listen to and emit events.
plugin.events();
const plugin = underscript.plugin('My great plugin');
const eventManager = plugin.events();
eventManager.on(':load', () => console.log('Page finished loading'));
// Call a custom event
eventManager.emit('customevent', {foo: 'bar'});
eventManager.on('customevent', (data) => console.log(data.foo)); // output: bar