commit | 12c99c983de0c13dbc517bde5ecfec7cf66c8d2f | [log] [tgz] |
---|---|---|
author | Raphael von der Grün <raphinesse@gmail.com> | Mon May 14 18:26:30 2018 +0200 |
committer | Raphael von der Grün <raphinesse@gmail.com> | Mon May 14 19:59:04 2018 +0200 |
tree | 9f6512aa0930bf53abab7f451a2c0d99a7ad4caa | |
parent | 342b2b8c076baa31e1154ab7379c619425421187 [diff] |
Remove nonsense comments in tests
This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.
:
var create = require('cordova-create'); create(dir, id, name, cfg, extEvents);
dir
- directory where the project will be created. Required. id
- app id. Required (but can be “undefined”). name
- app name. Required (but can be “undefined”). cfg
- extra config to be saved in .cordova/config.json Required (but can be “{}”). extEvents
- An EventEmitter instance that will be used for logging purposes. Required (but can be “undefined”).
An example of cfg which would fetch a cordova template from npm (or git):
var cfg = { lib: { www: { template: true, url: 'cordova-app-hello-world', version: '' } } };