Noah Petherbridge
1a9706c09f
* Rework the Story Mode UI to display level thumbnails. * Responsive UI: defaults to wide screen mode and shows 3 levels horizontally but on narrow/mobile display, shows 2 levels per page in portrait. * Add "Tiny" screenshot size (224x126) to fit the Story Mode UI. * Make the pager buttons bigger and more touchable. * Maximize the game window on startup unless the -w option with a specific window resolution is provided.
22 lines
517 B
Go
22 lines
517 B
Go
//go:build !js
|
|
// +build !js
|
|
|
|
package wasm
|
|
|
|
// StorageKeys returns the list of localStorage keys matching a prefix.
|
|
// This is a no-op when not in wasm.
|
|
func StorageKeys(prefix string) []string {
|
|
return []string{}
|
|
}
|
|
|
|
// SetSession sets a binary value on sessionStorage.
|
|
// This is a no-op when not in wasm.
|
|
func SetSession(key string, value string) {
|
|
}
|
|
|
|
// GetSession retrieves a binary value from sessionStorage.
|
|
// This is a no-op when not in wasm.
|
|
func GetSession(key string) (string, bool) {
|
|
return "", false
|
|
}
|