mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
New way to generate UIDs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ $id := delimit (slice "chart" .Ordinal now.UnixNano) "-" }}
|
||||
{{ $id := delimit (slice "chart" (partial "functions/uid.html" .)) "-" }}
|
||||
<div class="chart">
|
||||
<canvas id="{{ $id }}"></canvas>
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user