update für Laptop

This commit is contained in:
silas
2018-10-26 12:11:10 +02:00
parent 2ff0655407
commit 8a8aab01bf
10 changed files with 64 additions and 7376 deletions

View File

@@ -44,8 +44,8 @@
</head>
<body>
<script>
let defaultThemeClass = 'black';
let currentThemeClass = localStorage.getItem("currentTheme");
var defaultThemeClass = 'black';
var currentThemeClass = localStorage.getItem("currentTheme");
if (!currentThemeClass) {
currentThemeClass = defaultThemeClass;
}
@@ -123,7 +123,8 @@
console.log("init started");
initPromise = new Promise(function (resolve) {
if (typeof Map === "undefined") {
window.Map = function () {
console.log("defining maps");
window["Map"] = function () {
this.get = function (key) {
var hash = this.__createHash(key);
return this.__map[hash];
@@ -240,6 +241,7 @@
}
if (typeof Promise === 'undefined') {
console.log("defining promises");
// alert("Your Browser is maybe too old to run this site. Please update your browser!");
var promiseScript = document.createElement("script");
promiseScript.src = "//cdn.jsdelivr.net/bluebird/3.5.0/bluebird.min.js";

File diff suppressed because one or more lines are too long