This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Metis\Tester; | |
use Nette\Object; | |
use Tracy\Dumper; | |
class TestingServer extends Object { | |
public $onOutput; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x0c5331b568bb5f75d304a4df00e086c5aed9e3eb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(status == cookieconsent.status.deny) { | |
$('script[cookieconsent=enabled]').each(function() { | |
console.log("Cookie disabled: " + $(this).data("cookietype")); | |
$(this).remove(); | |
}); | |
} else { | |
$('script[cookieconsent=disabled]').each(function() { | |
scriptOrigin = $(this); | |
script = scriptOrigin.clone(); | |
script.attr('type', 'text/javascript'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
my $remote = '[email protected]::carol/dump'; | |
my $phase = shift; | |
if ($phase eq 'backup-end') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Latte/Compiler/TemplateGenerator.php b/src/Latte/Compiler/TemplateGenerator.php | |
index c522437b..b7fe0e91 100644 | |
--- a/src/Latte/Compiler/TemplateGenerator.php | |
+++ b/src/Latte/Compiler/TemplateGenerator.php | |
@@ -197,7 +197,7 @@ private static function buildParams( | |
? implode('', $res) . 'unset($ʟ_args);' | |
: "extract($cont);" . (str_contains($cont, '$this') ? '' : "unset($cont);"); | |
- return $extract . "\n" | |
+ return $extract |