Include dump of save data.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 00:49:10 +0000 (01:49 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 00:49:10 +0000 (01:49 +0100)
index.html

index 5acf395..7e7dc7f 100644 (file)
       h1 { text-align: center; }
       h2 { margin-top: 2em; }
     </style>
       h1 { text-align: center; }
       h2 { margin-top: 2em; }
     </style>
+
+    <script type="text/javascript">
+      setInterval(function () {
+          var element = document.getElementById("webcart1000-data");
+          element.innerText = JSON.stringify(webcart1000.data, undefined, 4);
+          return true;
+      }, 1000);
+    </script>
        
   </head>
   <body>
        
   </head>
   <body>
@@ -26,6 +34,8 @@
     <p>
       coming soon.
     </p>
     <p>
       coming soon.
     </p>
+    <h2>Your WEBCART1000 Data</h2>
+    <pre id="webcart1000-data">(loading...)</pre>
     <h2>How do I use it?</h2>
     <p>
       If you're making a web-based game, just
     <h2>How do I use it?</h2>
     <p>
       If you're making a web-based game, just