Pharo snippets: starting support for interactive JavaScript Echats exportation.
This commit is contained in:
parent
e393519bf4
commit
5a685a7fca
@ -2,10 +2,10 @@ Extension { #name : #LePharoSnippet }
|
|||||||
|
|
||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePharoSnippet >> contentAsStringCustomized [
|
LePharoSnippet >> contentAsStringCustomized [
|
||||||
| customCoder |
|
| thisObject |
|
||||||
(self tags includes: 'output') ifFalse: [ ^ self contentAsString ].
|
(self tags includes: 'output') ifFalse: [ ^ self contentAsString ].
|
||||||
customCoder := GtPharoSnippetCoder forSource: self contentAsString.
|
thisObject := ((self page sharedVariablesBindings) at: self detectObject) value.
|
||||||
^ (customCoder doItAll) value greaseString
|
^ thisObject perform: self detectMessage trimmed asSymbol.
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
|
Loading…
Reference in New Issue
Block a user