dom.Navigator add missing attributes (#15310)

* Add missing attributes and methods to dom.Navigator

* Add missing attributes and methods to dom.Navigator

* Add missing attributes and methods to dom.Navigator
This commit is contained in:
Juan Carlos 2020-09-14 03:58:21 -03:00 • committed by GitHub
commit a667475aaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View file

@ -162,7 +162,7 @@
- Added `deques.toDeque`, which creates a deque from an openArray. The usage is
similar to procs such as `sets.toHashSet` and `tables.toTable`. Previously,
it was necessary to create an empty deque and add items manually.
- `std/with`, `sugar.dup` now support object field assignment expression:
```nim
import std/with
@ -185,6 +185,7 @@
- Add `getprotobyname` to `winlean`. Add `getProtoByname` to `nativesockets` which returns a protocol code
from the database that matches the protocol `name`.
- Add missing attributes and methods to `dom.Navigator` like `deviceMemory`, `onLine`, `vibrate()`, etc.
## Language changes