polyfill added
authorDaniel Abrecht <webmaster@danielabrecht.ch>
Thu, 19 Nov 2015 07:46:08 +0000 (08:46 +0100)
committerDaniel Abrecht <webmaster@danielabrecht.ch>
Thu, 19 Nov 2015 07:46:08 +0000 (08:46 +0100)
index.html

index efa03ae..499b4ff 100644 (file)
@@ -5,6 +5,15 @@
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <script type="text/javascript" src="js/main.js" async="async"></script>
+    <script type="text/javascript">
+      if(!Object.observe){
+        var polyfilScript = document.createElement("script");
+        polyfilScript.addEventListener("load",function(){window.initMVSync&&initMVSync(false);});
+        polyfilScript.async = "async";
+        polyfilScript.src = "js/Object.observe/Object.observe.poly.js";
+        document.head.appendChild(polyfilScript);
+      }
+    </script>
     <script type="text/javascript" src="js/MVSync/MVSync.js" async="async"></script>
     <link rel="stylesheet" href="css/bootstrap.css" />
   <body class="container">