Introduce Page.$ and Page.$$ (#75)

This patch introduces Page.$ and Page.$$ methods which are
aliases for `document.querySelector` and `document.querySelectorAll`. 

Fixes #78.
This commit is contained in:
JoelEinbinder
2017-07-17 18:56:56 -07:00
committed by Andrey Lushnikov
parent bf7698e8f8
commit 117a128b42
8 changed files with 158 additions and 9 deletions

View File

@@ -1,5 +1,9 @@
### class: Foo
#### foo.$()
#### foo.money$$money()
#### foo.proceed()
#### foo.start()

View File

@@ -7,4 +7,10 @@ class Foo {
get zzz() {
}
$() {
}
money$$money() {
}
}