add Intl shim
This commit is contained in:
parent
f5dbd56a70
commit
519612ca9d
4 changed files with 952 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
require(["router", "map", "sidebar", "tabs", "container", "meshstats", "linklist", "nodelist", "simplenodelist", "infobox/main"],
|
||||
function (Router, Map, Sidebar, Tabs, Container, Meshstats, Linklist, Nodelist, SimpleNodelist, Infobox) {
|
||||
|
||||
/* Required for Intl shim */
|
||||
if ("__addLocaleData" in Intl)
|
||||
getJSON("vendor/de-DE.json").then(Intl.__addLocaleData)
|
||||
|
||||
getJSON("config.json").then(main)
|
||||
|
||||
function main(config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue