word/finder: emulate gallery page in javascript
[sheet.git] / word / finder.plp
1 <(../common.inc.plp)><:
2
3 our $wordlistbase;
4
5 Html({
6         raw => <<'EOT',
7 <script src="/word/put.min.js"></script>
8 <script src="/word/quiz.js"></script>
9 <script src="/word/finder.js"></script>
10 EOT
11 });
12
13 say '<h1>Words</h1>';
14 say '<section id="gallery" class="gallery"></section>';
15 say "<script>new WordFinder('/$wordlistbase.json')</script>";