Mercurial > libervia-backend
comparison frontends/src/jp/__init__.py @ 2265:322694543225
tools (common/template): ScriptsHandler fix/improvments:
ScriptsHandler was not used so far, this commit fix it to be usable:
- script can be imported with "include"
- generate_scripts is used to generate the <script> elements generation, in base page
- paths use root_path, so they are adapted to context
- generate_scripts return a Markup string, so it's not escaped
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 20:18:55 +0200 |
parents | c39117d00f35 |
children |
comparison
equal
deleted
inserted
replaced
2264:a8eaaac4d80f | 2265:322694543225 |
---|