1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-09 23:36:43 +02:00

Adds options to info page.

This commit is contained in:
Lars Jung
2012-03-25 01:09:35 +01:00
parent 908848bfc7
commit e4b6bace43
2 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,10 @@
<a target="_blank" href="http://twitter.com/lrsjng">@lrsjng</a> <a target="_blank" href="http://twitter.com/lrsjng">@lrsjng</a>
</p> </p>
</section> </section>
<section>
<pre id="config-file">
</pre>
</section>
<script src="/_h5ai/config.js"></script> <script src="/_h5ai/config.js"></script>
<script src="/_h5ai/js/scripts.js"></script> <script src="/_h5ai/js/scripts.js"></script>
</body> </body>

View File

@@ -15,9 +15,14 @@
$this.replaceWith($a); $this.replaceWith($a);
}); });
}, },
configFile = function () {
$('#config-file').text(JSON.stringify(H5AI_CONFIG.options));
},
init = function () { init = function () {
deobfuscate(); deobfuscate();
configFile();
}; };
$(init); $(init);