Hey everybody!
Following this Alloy inheritance example: https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/inheritance/
I made this super file, called AbstractController.js:
exports.init = function () { Ti.API.info( 'super init...' ); };And then this inheriting file, called index.js:
exports.baseController = 'AbstractController'; exports.init = function () { Ti.API.info( 'overridden init...' ); }; $.init();But when running it, the log gave me this:
[INFO] : super init...
Why 'super init...'? I was expecting 'overridden init...'