Prepaing merge with GT 0.8.690

This commit is contained in:
Offray Vladimir Luna Cárdenas 2021-07-15 17:45:53 -05:00
parent 2839a79e04
commit 79fe418dd8

View File

@ -8,11 +8,22 @@ Class {
#name : #TiddlyWiki,
#superclass : #Object,
#instVars : [
'tiddlers'
'tiddlers',
'file'
],
#category : #'TiddlyWiki-Model'
}
{ #category : #accessing }
TiddlyWiki >> file [
^ file
]
{ #category : #accessing }
TiddlyWiki >> file: anObject [
file := anObject
]
{ #category : #'instance creation' }
TiddlyWiki >> fromJSONString: aString [
| rawData |
@ -43,3 +54,10 @@ TiddlyWiki >> tiddlers: anOrderedCollection [
tiddlers := anOrderedCollection
]
{ #category : #accessing }
TiddlyWiki >> tiddlersJSONFile [
file ifNil: [ self inform: 'You need to export tiddlers as JSON from TiddlyWiki'.
^ nil ].
^ file parent / 'tiddlers.json'.
]