Compare commits

..

No commits in common. "525d7404096daf8668988bc64d5ee4d963c2b77d" and "4b02f0039900fb9c388bf81e1a561abdfef6b5e2" have entirely different histories.

8 changed files with 50 additions and 0 deletions

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>