riot-starter/public/js/mixins/relay.mixin.js

11 lines
165 B
JavaScript

/**
* Global Observiable Mixin
*
* simplifies communication between mutliple components
* on a single page
*/
export default {
relay: riot.observable()
};