mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0d8c91386a
commit
3d06fda888
@ -2010,8 +2010,6 @@ module.Test = {
|
|||||||
// XXX do we support this???
|
// XXX do we support this???
|
||||||
//'list/action': function(){
|
//'list/action': function(){
|
||||||
// return [...'abcdef'] },
|
// return [...'abcdef'] },
|
||||||
// XXX BUG CHROME: this hangs under chrome...
|
|
||||||
// (see: pwiki2.js)
|
|
||||||
'list/generator': function*(){
|
'list/generator': function*(){
|
||||||
yield* [...'abcdef'] },
|
yield* [...'abcdef'] },
|
||||||
'list/static': {
|
'list/static': {
|
||||||
|
|||||||
@ -468,9 +468,6 @@ module.BaseStore = {
|
|||||||
// this can be the result of matching a/* in a a/b/c
|
// this can be the result of matching a/* in a a/b/c
|
||||||
// and returning a a/b which can be undefined...
|
// and returning a a/b which can be undefined...
|
||||||
return that.get(p, strict) })
|
return that.get(p, strict) })
|
||||||
// XXX BUG CHROME: this hangs on Chrome when getting a
|
|
||||||
// generator function...
|
|
||||||
// ...should not require any editing when bug fixed.
|
|
||||||
: (await this.__get__(path)
|
: (await this.__get__(path)
|
||||||
?? ((this.next || {}).__get__
|
?? ((this.next || {}).__get__
|
||||||
&& this.next.get(path, strict))) },
|
&& this.next.get(path, strict))) },
|
||||||
|
|||||||
14
pwiki2.js
14
pwiki2.js
@ -55,20 +55,6 @@
|
|||||||
* i.e. a way to pass tags through path...
|
* i.e. a way to pass tags through path...
|
||||||
* /some/path:tags=a,b,c
|
* /some/path:tags=a,b,c
|
||||||
* XXX FEATURE images...
|
* XXX FEATURE images...
|
||||||
* XXX BUG CHROME: can't .get(..) a generator...
|
|
||||||
* affected code:
|
|
||||||
* BaseStore's .get(..)
|
|
||||||
* bug report:
|
|
||||||
* https://bugs.chromium.org/p/chromium/issues/detail?id=1361981
|
|
||||||
* when done test:
|
|
||||||
* .get('/test/list/generator').asPages()
|
|
||||||
* .get('/test/list/generator').raw
|
|
||||||
* .get('/test/list/generator').data
|
|
||||||
* .get('/test/list/generator').text
|
|
||||||
* potential temporaty fix:
|
|
||||||
* wrap all .__get__(..) call in an async function testing if
|
|
||||||
* it's return value is a generator function (return) or anything
|
|
||||||
* else (await)...
|
|
||||||
* XXX rename??
|
* XXX rename??
|
||||||
* System -> .system
|
* System -> .system
|
||||||
* Config -> .pwiki
|
* Config -> .pwiki
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user