Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-02-12 17:53:37 +03:00
parent 3810c4349c
commit b42584a957

View File

@ -2014,6 +2014,10 @@ object.Constructor('Page', BasePage, {
// XXX EXPERIMENTAL
// XXX would be nice to be able to chain .awaitOrRun(..) calls instead
// 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(){
var that = this
return Promise.awaitOrRun(