mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix path normalization problem
This commit is contained in:
parent
6085b82d19
commit
fefd3dd895
8 changed files with 62 additions and 18 deletions
|
|
@ -1,3 +1,6 @@
|
|||
<config version="2" />
|
||||
<div>{{ $foobar }}</div>
|
||||
<div>{{ $globalonly }}</div>
|
||||
@once
|
||||
@load ('../js/test.js')
|
||||
@endonce
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
3
tests/_data/template/js/test.js
Normal file
3
tests/_data/template/js/test.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(function($) {
|
||||
// TEST
|
||||
})(jQuery);
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue