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);