Fix server strategy creator
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
Class {
|
Class {
|
||||||
#name : #LeCarpSnippetElement,
|
#name : #LeCarpSnippetElement,
|
||||||
#superclass : #LeExternalEvaluatedSnippetElement,
|
#superclass : #LeExternalEvaluatedSnippetElement,
|
||||||
|
#instVars : [
|
||||||
|
'serverStrategy'
|
||||||
|
],
|
||||||
#category : #'Carp-Lepiter'
|
#category : #'Carp-Lepiter'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,7 +21,7 @@ LeCarpSnippetElement >> onSnippetViewModelChanged [
|
|||||||
LeCarpSnippetElement >> serverStrategy [
|
LeCarpSnippetElement >> serverStrategy [
|
||||||
|
|
||||||
^ serverStrategy ifNil:
|
^ serverStrategy ifNil:
|
||||||
[ serverStrategy := LeCarpApplicationStrategy new content: self ].
|
[ serverStrategy := LeCarpApplicationStrategy new content: self snippet ].
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
|
Reference in New Issue
Block a user