Skip to content

Commit

Permalink
Return a shallow copy of GitStandaloneAssetLoader
Browse files Browse the repository at this point in the history
This allows setting a basePath per instance.
  • Loading branch information
MariusDoe committed Jan 15, 2024
1 parent 7b20a44 commit 0b3bae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
registering
named: aString ifAbsent: aBlock
^ self registry at: aString ifAbsent: aBlock
^ self registry at: aString ifPresent: #shallowCopy ifAbsent: aBlock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
"classDependencies" : "mad 1/11/2024 21:53",
"extensionMethodCategoryDependencies" : "mad 1/11/2024 22:45",
"named:ifAbsent:" : "mad 1/9/2024 18:46",
"named:ifAbsent:" : "mad 1/15/2024 12:03",
"newWithName:" : "mad 1/9/2024 19:06",
"register:" : "mad 1/9/2024 19:08",
"registry" : "mad 1/9/2024 19:07",
Expand Down

0 comments on commit 0b3bae1

Please sign in to comment.