Fixing config file management and starting with remote JSON url definitions.
This commit is contained in:
parent
56e048ecb3
commit
941d042570
@ -26,13 +26,13 @@ TiddlyWiki class >> fromJSONUrl: anUrlString [
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> addToConfigFile [
|
||||
| cleaned |
|
||||
| cleaned newConfig |
|
||||
cleaned := self copy.
|
||||
cleaned tiddlers: nil.
|
||||
self configDictonary
|
||||
newConfig := self configDictonary
|
||||
at: cleaned name put: cleaned;
|
||||
yourself.
|
||||
MarkupFile exportAsFileOn: self configFile containing:(STON toStringPretty: self configDictonary)
|
||||
^ MarkupFile exportAsFileOn: self configFile containing:(STON toStringPretty: newConfig)
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
@ -215,6 +215,11 @@ TiddlyWiki >> tiddlersJSONFile [
|
||||
^ jsonFile
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> tiddlersJSONUrl [
|
||||
self remote ifNil: [^ nil].
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> withoutImages [
|
||||
| filteredTiddlers tempWiki |
|
||||
|
Loading…
Reference in New Issue
Block a user