Mercurial > p > roundup > code
comparison roundup/cgi/templating.py @ 8385:411cebfad3fd
doc: missing :: at end of line before example code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Jul 2025 17:46:16 -0400 |
| parents | 9369e0958312 |
| children | 389b62b1d65b |
comparison
equal
deleted
inserted
replaced
| 8384:e0e3212c1e80 | 8385:411cebfad3fd |
|---|---|
| 3756 | 3756 |
| 3757 Useful for inlining JavaScript kept in an external | 3757 Useful for inlining JavaScript kept in an external |
| 3758 file where you can use linters/minifiers and other | 3758 file where you can use linters/minifiers and other |
| 3759 tools on it. | 3759 tools on it. |
| 3760 | 3760 |
| 3761 A TAL example: | 3761 A TAL example:: |
| 3762 | 3762 |
| 3763 <script tal:attributes="nonce request/client/client_nonce" | 3763 <script tal:attributes="nonce request/client/client_nonce" |
| 3764 tal:content="python:utils.readfile('mylibrary.js')"></script> | 3764 tal:content="python:utils.readfile('mylibrary.js')"></script> |
| 3765 | 3765 |
| 3766 This method does not expands any tokens in the file. | 3766 This method does not expands any tokens in the file. |
