Alias Page.Scratch to Page.Store (note)

Fixes #13016
This commit is contained in:
Bjørn Erik Pedersen
2024-11-05 16:32:57 +01:00
parent df8bd4af4f
commit 2c3efc8106
6 changed files with 35 additions and 24 deletions

View File

@@ -56,7 +56,6 @@ type pageCommon struct {
store *maps.Scratch
// All of these represents the common parts of a page.Page
maps.Scratcher
navigation.PageMenusProvider
page.AuthorProvider
page.AlternativeOutputFormatsProvider
@@ -113,3 +112,8 @@ type pageCommon struct {
func (p *pageCommon) Store() *maps.Scratch {
return p.store
}
// See issue 13016.
func (p *pageCommon) Scratch() *maps.Scratch {
return p.Store()
}