@titanium/turbo
Version:
🚀 Axway Amplify tool to use Turbo for turbo charging your Appcelerator Titanium SDK Framework!
9 lines (8 loc) • 328 B
JavaScript
$.info.addEventListener('close', function() {
// Since we are referencing a global model for our bindings,
// make sure to call $.destroy() when you are done with the
// controller/window. This will ensure that no memory is
// leaked and that the bindings are properly released.
$.destroy();
});
Alloy.Models.info.fetch();