mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
Fix grammar in docs (#49)
* fix grammar in readme * fix grammar in compact-encoding * fix grammar in hyperdht * fix grammar in hyperdrive * fix grammar in hypercore * fix grammar in hyperswarm * fix grammar in localdrive * fix grammar in mirrordrive * fix grammar in sharing-a-pear-app * tiny fixes
This commit is contained in:
@@ -263,7 +263,7 @@ Media interface
|
||||
|
||||
### `const status = await Pear.media.status.microphone()`
|
||||
|
||||
Resolves to: `<String>`.
|
||||
Resolves to: `<String>`
|
||||
|
||||
If access to the microphone is available, resolved value will be `'granted'`.
|
||||
|
||||
@@ -271,7 +271,7 @@ Any other string indicates lack of permission. Possible values are `'granted'`,
|
||||
|
||||
### `const status = await Pear.media.status.camera()`
|
||||
|
||||
Resolves to: `<String>`.
|
||||
Resolves to: `<String>`
|
||||
|
||||
If access to the camera is available, resolved value will be `'granted'`.
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ Any other fields (such as `dependencies`) may also be present in the `package.js
|
||||
|
||||
The `package.json` `pear` object contains application configuration and is exposed via the API as `pear.config.options`.
|
||||
|
||||
Pear versioning is automatic. The `package.json` file does **not** require a version field, the version field will be ignored..
|
||||
Pear versioning is automatic. The `package.json` file does **not** require a version field, the version field will be ignored.
|
||||
|
||||
## The `package.json` `pear` field.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user