Commit 62d201e 1 parent 0641a92 commit 62d201e Copy full SHA for 62d201e
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace $.$$ {
19
19
@ $mol_mem
20
20
data ( ) {
21
21
const text = $mol_fetch . text ( 'hyoo/scout/_games.tree' )
22
- const json = $mol_tree . fromString ( text ) . sub . map ( tree => tree . clone ( { type : '*' } ) . toJSON ( ) )
22
+ const json = this . $ . $mol_tree2_from_string ( text ) . kids . map ( tree => this . $ . $mol_tree2_to_json ( tree . struct ( '*' ) ) )
23
23
return json as $hyoo_scout_gist [ ]
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ namespace $.$$ {
40
40
content : this . descr ( ) ,
41
41
}
42
42
43
- const gist = new $mol_tree ( { type : 'game' , sub : $mol_tree . fromJSON ( data ) . sub } )
43
+ const gist = $mol_tree2 . struct ( 'game' , $mol_tree2_from_json ( data ) . kids )
44
44
45
45
const body = encodeURIComponent ( gist . toString ( ) + '\n' )
46
46
You can’t perform that action at this time.
0 commit comments