Update application.py

This commit is contained in:
Chris Holdgraf 2020-01-04 06:12:16 -08:00 committed by GitHub
parent 01ffa6cf04
commit 6117e7619a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -873,7 +873,7 @@ class Sphinx:
app.add_js_file('example.js', async="async") app.add_js_file('example.js', async="async")
# => <script src="_static/example.js" async="async"></script> # => <script src="_static/example.js" async="async"></script>
app.add_js_file(None, body="var myVariable = 'foo';") app.add_js_file(None, body="var myVariable = 'foo';")
# => <script>var myVariable = 'foo';</script> # => <script>var myVariable = 'foo';</script>