Alright, I am just getting started with phoneGap for iOS and I am noticing in the www directory that there are plenty of files, such as
spec/helper.js
spec/index.js
jasmine
cordova.js
etc.
Are all those things really needed in order to have it all working? Also, I noticed in "index.js" that, at the beginning of the file, it is creating an app object:
var app = { ... };
and puts all the code inside it;
Is this also necessary in order to bind the events? Like deviceready or others?
Thanks in advance.