Skip to content

Commit acc758b

Browse files
authored
Merge pull request #30 from ba-st/improve_apps
Use the new requiredLibraries method
2 parents 91f08f7 + 82fdf61 commit acc758b

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

source/Willow-Playground-LiveDocs/WPLiveDocumentation.class.st

+2-3
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ WPLiveDocumentation >> newComponentSupplier [
102102
]
103103

104104
{ #category : #updating }
105-
WPLiveDocumentation >> updateRoot: aRoot [
105+
WPLiveDocumentation >> requiredLibraries [
106106

107-
super updateRoot: aRoot.
108-
SpinKitMetadataLibrary default updateRoot: aRoot
107+
^ {SpinKitMetadataLibrary default}
109108
]

source/Willow-Playground-Smalltalks2017/Smalltalks2017Presentation.class.st

+2-4
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,10 @@ Smalltalks2017Presentation >> renderStepButtonsOn: aCanvas [
219219
]
220220

221221
{ #category : #updating }
222-
Smalltalks2017Presentation >> updateRoot: aRoot [
222+
Smalltalks2017Presentation >> requiredLibraries [
223223

224224
" Libraries added here are not considered until the server is restarted.
225225
Including a library with a favicon.ico will automatically use it. "
226226

227-
super updateRoot: aRoot.
228-
Smalltalks2017FileMetadataLibrary default updateRoot: aRoot.
229-
SpinKitMetadataLibrary default updateRoot: aRoot
227+
^ {Smalltalks2017FileMetadataLibrary default. SpinKitMetadataLibrary default}
230228
]

source/Willow-Playground-TestRunner/WPTestRunner.class.st

+6-7
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ WPTestRunner >> newComponentSupplier [
9292
typeaheadLibrary: (self deploymentMode libraryFor: BootstrapTypeaheadLibrary) default
9393
]
9494

95+
{ #category : #updating }
96+
WPTestRunner >> requiredLibraries [
97+
98+
^ {SpinKitMetadataLibrary default}
99+
]
100+
95101
{ #category : #private }
96102
WPTestRunner >> toolbarRenderingOnAction: testResult [
97103

@@ -114,10 +120,3 @@ WPTestRunner >> toolbarRenderingOnAction: testResult [
114120

115121
^ toolbar
116122
]
117-
118-
{ #category : #updating }
119-
WPTestRunner >> updateRoot: aRoot [
120-
121-
super updateRoot: aRoot.
122-
SpinKitMetadataLibrary default updateRoot: aRoot
123-
]

0 commit comments

Comments
 (0)