Permalink
Browse files

task convert52: converts $node::

  • Loading branch information...
1 parent 64e43ed commit d8d3bc082b57f7eaaa205d512489143b5873ffc2 @dg dg committed Feb 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tasks/convert52.php
View
@@ -35,6 +35,7 @@
$s = str_replace('$application->onStartup[] = function() {', '{', $s); // bootstrap.php
$s = str_replace('$application->onStartup[] = function() use ($application) {', '{', $s); // bootstrap.php
$s = str_replace('$form::', 'Form::', $s); // Form examples
+ $s = str_replace('$node::', 'Nette\Latte\MacroNode::', $s); // Latte
$s = str_replace('Nette\Database\Drivers\\\\', $prefixed ? 'N' : '', $s); // Nette\Database\Connection.php
$s = str_replace('@Nette\Http\\', $prefixed ? '@\NHttp' : '@\Http', $s); // Nette\Config\Extensions\NetteExtension.php

0 comments on commit d8d3bc0

Please sign in to comment.