You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into an error with the latest release that is occurring with situations containing some/all of the following characteristics:
Nested includes
Using a namespace
Inside a macro
I'm not actually sure which of those are causing it, but I wondered if this might ring a bell. If you'd like to test and verify, I have a branch here. To see it, run yarn develop and then go to this page.
This is a little bit from the error log:
Uncaught TypeError: file.indexOf is not a function
at Object.Twig.path.parsePath (twig.js:7578)
which points to this line:
if (file.indexOf(k) === -1) {
Let me know if I can provide any more feedback, and thanks for your work on this project!
The text was updated successfully, but these errors were encountered:
Is someone able to provide a simple example with links to it working in TwigPHP via Twigfiddle and not working in twig.js using this template? I looked at the referenced PR, but there are no test provided with it, so I want to make sure the actual issue is being resolved there.
We are running into an error with the latest release that is occurring with situations containing some/all of the following characteristics:
I'm not actually sure which of those are causing it, but I wondered if this might ring a bell. If you'd like to test and verify, I have a branch here. To see it, run
yarn develop
and then go to this page.This is a little bit from the error log:
which points to this line:
Let me know if I can provide any more feedback, and thanks for your work on this project!
The text was updated successfully, but these errors were encountered: