imba-localization 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,6 +37,7 @@ export class Localization
|
|
|
37
37
|
console.log('There is no Localization for the default language', default)
|
|
38
38
|
return
|
|
39
39
|
onready! if onready isa Function
|
|
40
|
+
onchange(active) if onchange isa Function
|
|
40
41
|
|
|
41
42
|
get active
|
|
42
43
|
const saved = window.localStorage.getItem('imba-localization')
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imba-localization",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/HeapVoid/imba-localization.git"
|
|
7
7
|
},
|
|
8
|
-
"main": "
|
|
9
|
-
"module": "
|
|
10
|
-
"browser": "
|
|
8
|
+
"main": "localization.imba",
|
|
9
|
+
"module": "localization.imba",
|
|
10
|
+
"browser": "localization.imba",
|
|
11
11
|
"description": "A class to make using language localizations in Imba easier.",
|
|
12
12
|
"keywords": ["imba", "theme", "localization"],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"files": [
|
|
16
|
-
"
|
|
16
|
+
"localization.imba"
|
|
17
17
|
]
|
|
18
18
|
}
|