You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
364 B
13 lines
364 B
let p = console.log
|
|
|
|
export def err s, e
|
|
p "error:"
|
|
p e
|
|
window.alert("Error {s}:\n\n{e}")
|
|
|
|
global._fuzzyhome_delete_everything = do |prompt=yes|
|
|
return if prompt and window.confirm "This will delete everything. Are you sure?"
|
|
indexedDB.deleteDatabase("fuzzyhome")
|
|
delete localStorage.fuzzyhome_config
|
|
delete localStorage.fuzzyhome_visited
|
|
location.reload!
|
|
|