mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3810c4349c
commit
b42584a957
@ -2014,6 +2014,10 @@ object.Constructor('Page', BasePage, {
|
|||||||
// XXX EXPERIMENTAL
|
// XXX EXPERIMENTAL
|
||||||
// XXX would be nice to be able to chain .awaitOrRun(..) calls instead
|
// XXX would be nice to be able to chain .awaitOrRun(..) calls instead
|
||||||
// of nesting them like here...
|
// of nesting them like here...
|
||||||
|
// XXX BUG: this breaks on:
|
||||||
|
// pwiki = reqiter('./pwiki-test').pwiki
|
||||||
|
// await pwiki.get('./_text').text
|
||||||
|
// ...seems to break the original vetsion too...
|
||||||
get text(){
|
get text(){
|
||||||
var that = this
|
var that = this
|
||||||
return Promise.awaitOrRun(
|
return Promise.awaitOrRun(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user