Compare commits

..

No commits in common. "36d56358122f17443a534fbf515d0e48bda48189" and "f2aa55bc3ef3c0f5ab9c9fbc4aca8a38a2b5f841" have entirely different histories.

9 changed files with 50 additions and 0 deletions

View File

View File

@ -0,0 +1,22 @@
@css(test1.css)
@js(test1.js)
@js(test2_<?= $some['expression'] ?>)
@extra
<?php phpinfo() ?>
@endextra
@extends(parent)
@section(section1)
<div>Test HTML with @extends - section 1</div>
@endsection
@section(section2)
<div>Test HTML with @extends - section 2</div>
@endsection
@extra
<?php $a = 'test_string' ?>
EXTRA
@endextra

View File

@ -0,0 +1,5 @@
@extends(parent1)
@extends(parent2)
<div>Test HTML with multiple @extends</div>

View File

@ -0,0 +1,6 @@
@extends(parent)
@section(section1)
@section(section2)
<div>Test HTML with opening @section before previous closed</div>

View File

@ -0,0 +1,4 @@
@extends(parent)
<div>Test HTML with @endsection when no section is open</div>
@endsection

View File

@ -0,0 +1,3 @@
@section(section1)
<div>Test HTML with @section but without @extends</div>

View File

@ -0,0 +1,4 @@
@css(test.css)
@js(test.js)
@js(test_<?= $some['expression'] ?>)
<div>Test HTML with @css and @js</div>

View File

@ -0,0 +1,5 @@
@extends(parent)
@section(section1)
<div>Test HTML with @extends</div>
@endsection

View File

@ -0,0 +1 @@
<div>Test HTML without @extends</div>