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
Do you have any idea?
I'm not familiar with the google closure things, nor the mechanism of this bundle... but I just followed the doc provided in JMSTwigJsBundle and twig.js. (except that the doc doesn't state that google closure's JS should be included, otherwise it says "goog is undefined", so I included the http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js as you can see above)
Many Thanks.
Simon
The text was updated successfully, but these errors were encountered:
Hi,
I'm using symfony 2.0.1 with vendors, and installed JMSTwigJsBundle:
deps file:
on my javascript part, I've added:
userDiv.html.twig is something like:
Then I render it in my JS:
Sorry for passing Johannes' name but I think that should not matter.
Then the Javascript console of firefox shows me "twig.Template is undefined". It is saying this line in bold text:
Do you have any idea?
I'm not familiar with the google closure things, nor the mechanism of this bundle... but I just followed the doc provided in JMSTwigJsBundle and twig.js. (except that the doc doesn't state that google closure's JS should be included, otherwise it says "goog is undefined", so I included the http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js as you can see above)
Many Thanks.
Simon
The text was updated successfully, but these errors were encountered: