phoneGap startup - do we need all those files?

后端 未结 4 1390
日久生厌
日久生厌 2020-12-28 16:37

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/i         


        
4条回答
  •  -上瘾入骨i
    2020-12-28 17:01

    The cordova js the only js file needed. This is autogenerated when you ran the phonegap create script.

    index.js contains sample code on how to bind to the deviceready event. It can serve as a start for your js code.

    The spec folder and spec.html are for javascript testing using Jasmine, a BDD testing framework for Javascript.

提交回复
热议问题