Refactor the handlebars helpers to namespace using dd instead of dotdungeon because it's so long
This commit is contained in:
parent
d4531f089a
commit
38952c61b4
11 changed files with 52 additions and 39 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{#> dotdungeon.panel class="stats" title="dotdungeon.actor.pc.panel.statistics"}}
|
||||
{{#each system.stats }}
|
||||
{{> dotdungeon.stat name=@key value=this}}
|
||||
{{> dotdungeon.stat system=../system name=@key value=this}}
|
||||
{{/each}}
|
||||
{{/ dotdungeon.panel}}
|
||||
|
||||
|
|
@ -43,21 +43,21 @@
|
|||
<div class="debug-data" style="grid-column: 1 / span 3">
|
||||
<div>
|
||||
Settings:
|
||||
<pre><code>{{dotdungeon-stringify settings}}</code></pre>
|
||||
<pre><code>{{dd-stringify settings}}</code></pre>
|
||||
</div>
|
||||
<div>
|
||||
Meta:
|
||||
<pre><code>{{dotdungeon-stringify meta}}</code></pre>
|
||||
<pre><code>{{dd-stringify meta}}</code></pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
System:
|
||||
<pre><code>{{dotdungeon-stringify system}}</code></pre>
|
||||
<pre><code>{{dd-stringify system}}</code></pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
Actor:
|
||||
<pre><code>{{dotdungeon-stringify actor}}</code></pre>
|
||||
<pre><code>{{dd-stringify actor}}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue