Skip to content
Permalink
Browse files

Fixed for Nette 2.2

  • Loading branch information...
dg committed Apr 1, 2014
1 parent ecb4456 commit ac7a0fd2d707160426ab184442b8d68c590f8de2
Showing with 6 additions and 6 deletions.
  1. +3 −3 app/shortcuts.php
  2. +2 −2 app/templates/Homepage/default.latte
  3. +1 −1 www/css/screen.css
@@ -1,6 +1,6 @@
<?php
use Nette\Diagnostics\Debugger;
use Tracy\Debugger;
/**
@@ -13,7 +13,7 @@ function callback($callback, $m = NULL)
/**
* Nette\Diagnostics\Debugger::dump() shortcut.
* Tracy\Debugger::dump() shortcut.
*/
function dump($var)
{
@@ -25,7 +25,7 @@ function dump($var)
/**
* Nette\Diagnostics\Debugger::log() shortcut.
* Tracy\Debugger::log() shortcut.
*/
function dlog($var = NULL)
{
@@ -35,9 +35,9 @@
</section>

<section id="layout">
<h2>Layout template located at <span>{strstr($template->getFile(), app)}</span></h2>
<h2>Layout template located at <span>{strstr($template->getName(), app)}</span></h2>

<pre><code class="jush">{file_get_contents($template->getFile())}</code></pre>
<pre><code class="jush">{file_get_contents($template->getName())}</code></pre>
</section>

<section id="presenter">
@@ -26,7 +26,7 @@ div.flash {
margin: 1em 0;
}

a[href^="error:"] {
a[href^="#error:"] {
background: red;
color: white;
}

0 comments on commit ac7a0fd

Please sign in to comment.
You can’t perform that action at this time.