Поменял местам key value

This commit is contained in:
Федор Подлеснов 2015-12-03 10:38:59 +03:00
parent 7562f54d2c
commit 3f5d4a5e9c
5 changed files with 46 additions and 4 deletions

View file

@ -15,7 +15,7 @@ class Klein {
}];
}, [
["{% for+:id+in+:var %}", "foreach(\$#2 as \$index => \$#1): \$loop = ['first' => \$index == 0, 'last' => \$index == count(\$#2) - 1];"],
["{% for+:id , :id+in+:var %}", "foreach(\$#3 as \$#2 => \$#1):"],
["{% for+:id , :id+in+:var %}", "foreach(\$#3 as \$#1 => \$#2):"],
["{% endfor %}", "endforeach;"],
["{% if+:var %}", "if(isset(\$#1) && \$#1 ):"],
["{% endif %}", "endif;"],