Will Rowe

Results 176 comments of Will Rowe

I can confirm this is not working as expected, see this example: https://codepen.io/willrowe/pen/eYMeWqx However, it does not appear to be for the reasons originally outlined. The current version of twig.js...

As @JROUD mentioned, it was renamed to `allowAsync`. Documentation will be updated accordingly for the next version.

I'm looking into this, but my initial analysis shows that this requires a fairly large structural change to handle the situation laid out here so it may take awhile before...

- Reference in [TwigPHP docs](https://twig.symfony.com/doc/3.x/tags/set.html#:~:text=Several%20variables%20can%20be%20assigned%20in%20one%20block%3A) - [TwigPHP example](https://twigfiddle.com/48gact) - [twig.js example](https://codepen.io/willrowe/pen/OJvxwzw)

I have confirmed this is a bug. Here is [a TwigFiddle](https://twigfiddle.com/mdhzi3) that demonstrates how it works in TwigPHP. Here is what happens with twig.js: https://codepen.io/willrowe/pen/abqrZXW

More information can be found in the [TwigPHP docs](https://twig.symfony.com/doc/3.x/api.html#environment-options).

This still needs to be reviewed fully. However, after a cursory review, there is a good chance it will not get merged since it does not include tests and does...

I took a closer look at this and think I have gotten to the bottom of what is happening. I should have some test cases ready for this soon.

The issue is definitely with the template `id`, the last thing I need to take a look at is why that is affecting it in this way to be sure...