UNPKG

@titanium/turbo

Version:

Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.

16 lines (12 loc) 290 B
function handler(e) { alert('got this from custom event: ' + e.message); } function removeListener() { $.requiredController.off('someEvent', handler); } $.requiredController.on('someEvent', handler); $.index.open(); // runtime unit tests if (!ENV_PROD) { require('specs/index')($); }