Include Zepto library so that JS on error pages still works.

This commit is contained in:
Franz Liedke
2014-01-18 14:54:14 +01:00
parent ea8e2bc200
commit 2852d3be18
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -120,6 +120,7 @@ class PrettyPageHandler extends Handler
// @todo: asset compiler
"stylesheet" => file_get_contents($this->getResource("css/whoops.base.css")),
"jquery" => file_get_contents($this->getResource("js/zepto.min.js")),
"javascript" => file_get_contents($this->getResource("js/whoops.base.js")),
// Template paths:
+1 -1
View File
@@ -1,4 +1,4 @@
$(function() {
Zepto(function($) {
prettyPrint();
var $frameLines = $('[id^="frame-line-"]');
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -30,7 +30,7 @@
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/prettify/r224/prettify.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script><?php echo $jquery ?></script>
<script><?php echo $javascript ?></script>
</body>
</html>