Spaces:
Sleeping
Sleeping
Moibe
commited on
Commit
·
7c77ea3
1
Parent(s):
fcc824b
Testing getStorage
Browse files
app.py
CHANGED
@@ -8,10 +8,10 @@ get_local_storage = """
|
|
8 |
globalThis.getStorage = (key, value)=>{
|
9 |
return JSON.parse(localStorage.getItem(key))
|
10 |
}
|
11 |
-
const
|
12 |
const dropdown = getStorage('dropdown')
|
13 |
const local_data = getStorage('local_data')
|
14 |
-
return [
|
15 |
}
|
16 |
"""
|
17 |
|
|
|
8 |
globalThis.getStorage = (key, value)=>{
|
9 |
return JSON.parse(localStorage.getItem(key))
|
10 |
}
|
11 |
+
const text_inputAMLO = getStorage('text_input')
|
12 |
const dropdown = getStorage('dropdown')
|
13 |
const local_data = getStorage('local_data')
|
14 |
+
return [text_inputAMLO, dropdown, local_data];
|
15 |
}
|
16 |
"""
|
17 |
|