Improving importation from config.
This commit is contained in:
parent
745a7e028e
commit
438bff833c
@ -232,7 +232,9 @@ Tiddler >> list: anObject [
|
|||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
Tiddler >> listedTiddlers [
|
Tiddler >> listedTiddlers [
|
||||||
"I export all tiddlers in the list field as an alphabetic collection.
|
"I export all tiddlers in the list field as an alphabetic collection.
|
||||||
Future versions should preserve the order in the list."
|
Future versions should preserve the order in the list.
|
||||||
|
Notice that while '#list' only gives the titles of the listed tiddlers,
|
||||||
|
I return them as proper tiddler objects."
|
||||||
| remainList remainListArray listedTiddlers |
|
| remainList remainListArray listedTiddlers |
|
||||||
self list ifNil: [^ nil ].
|
self list ifNil: [^ nil ].
|
||||||
remainList := self list copy.
|
remainList := self list copy.
|
||||||
|
@ -121,7 +121,7 @@ TiddlyWiki >> jsonSubtiddlers: subtiddlersCollection [
|
|||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
TiddlyWiki >> loadFromConfig: wikiname [
|
TiddlyWiki >> loadFromConfig: wikiname [
|
||||||
^ self configDictonary at: wikiname.
|
^ (self configDictonary at: wikiname) importJSONFile.
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user