alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Moved creating index controller from generation to template

Open bert-w opened this issue 8 years ago • 2 comments

https://jira.appcelerator.org/browse/AC-4777

Solution shouldnt be much more than this

bert-w avatar Feb 07 '17 13:02 bert-w

@Bertuzb, I think this breaks existing apps that startup from index.

feons avatar Mar 15 '17 22:03 feons

yes when they update it breaks, but this is a much better solution instead of appending unknown code during the compilation process.

Fixing it for any app will be really simple though, simply append Alloy.createController('index') as the last line on alloy.js and you're good to go

bert-w avatar Mar 16 '17 08:03 bert-w