Skip to content

Commit 7895c92

Browse files
committed
Reword
1 parent 9f6eaba commit 7895c92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templating/hinclude.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ Use the ``attributes`` option to define the value of hinclude.js options:
9292

9393
.. code-block:: twig
9494
95-
{# if set to true, cross-site Access-Control requests use credentials such
96-
as cookies, authorization headers or TLS client certificates #}
95+
{# by default, cross-site requests don't use credentials such as cookies, authorization
96+
headers or TLS client certificates; set this option to 'true' to use them
9797
{{ render_hinclude(controller('...'), {attributes: {data-with-credentials: 'true'}}) }}
9898
99-
{# if set to true and the contents include some JavaScript code, that code
100-
is run immediately after loading the contents #}
99+
{# by default, the JavaScript code included in the loaded contents is not run;
100+
set this option to 'true' to run that JavaScript code #}
101101
{{ render_hinclude(controller('...'), {attributes: {evaljs: 'true'}}) }}
102102
103103
.. _`hinclude.js`: http://mnot.github.io/hinclude/

0 commit comments

Comments
 (0)