UNPKG

@titanium/turbo

Version:

🚀 Axway Amplify tool to use Turbo for turbo charging your Appcelerator Titanium SDK Framework!

11 lines (8 loc) • 265 B
exports.parse = function(node, state) { if (!node.getAttribute('src') && state.widgetId) { node.setAttribute('src', state.widgetId); } node.nodeName = 'Require'; node.setAttribute('type', 'widget'); return require('./Alloy.Require').parse(node, state); };