Fix path normalization problem

This commit is contained in:
Kijin Sung 2023-10-21 14:19:20 +09:00
parent 6085b82d19
commit fefd3dd895
8 changed files with 62 additions and 18 deletions

View file

@ -1,3 +1,6 @@
<config version="2" />
<div>{{ $foobar }}</div>
<div>{{ $globalonly }}</div>
@once
@load ('../js/test.js')
@endonce

View file

@ -1,5 +1,5 @@
<config version="2" />
<div class="self">{{ $foobar }}</div>
<div class="incl">
<include src="incl/scopetest1.html" vars="['foobar' => 'Included #3']" />
<include src="scopetest1.html" vars="['foobar' => 'Included #3']" />
</div>

View file

@ -0,0 +1,3 @@
(function($) {
// TEST
})(jQuery);

View file

@ -1,9 +1,9 @@
@version(2)
@php
<?php
$foobar = 'Rhymix Template';
$globalonly = 'Context Variable';
@endphp
?>
<div class="global">
@include ('incl/scopetest1.html')
@ -14,5 +14,5 @@
</div>
<div class="test2">
@include ('incl/scopetest2.html', ['foobar' => 'Included #2'])
<include src="incl/scopetest2.html" vars="['foobar' => 'Included #2']" />
</div>