vendredi 4 avril 2014

2 application files

I have SenchaCmd-4.0.2.67-windows.exe and i have created application.

It should create app.js file as entry point for the application in the app folder.



But it has created 2 files. App.js is in root directory while application.js is in the app folder.

Which one should i use?



In app.js is: Ext.application({name: 'Packt',...



and in application.js is: Ext.define('Packt.Application', { name: 'Packt',



What is the difference? I'm little confused :)




Aucun commentaire:

Enregistrer un commentaire