JMSTwigJsBundle
JMSTwigJsBundle copied to clipboard
Integrates twig.js into your Symfony2 application
Howdy, I've been using this package to develop a couple templates that are only loaded via javascript. Everything works great in development. Templates are loaded as follows: In my base.twig.html.......
Hello there! I'm wondering is there any particular reason why wasn't Symfony's translator directly used to translate filters input (like here br0wn/JMSTwigJsBundle@fd541ff2846c7507444bf4629367da465cf44ee1) , but instead reflection is used to fetch...
There is missing filters. Like date format and number format... Looking at latest Twig.js sources i can see them... But can't use in my project... Manualy updating Twig.js file don't...
I am using the bundle with assetic integration. When I introduce a new filter/function to a template then when doing `assetic:dump` TwigJS produces an error indicating that a filter/function is...
When i use non-existent(at compile-time) filter i get 500 error...
Greetings @schmittjoh, First of all, thank you for creating the twig.js project, and its corresponding Symfony bundle. Using the Twig templating engine on both the server and client sides has...
``` php $this->get('twig_js.compiler'); ``` results into ``` You have requested a non-existent service "twig_js.compiler". 500 Internal Server Error - ServiceNotFoundException ```
I am passing an object into my template like such var obj = { value: 'a', doStuff: function(param1, param2) { ...}}; Twig.render(myTemplate.twig, { data: obj }); {{ data.doStuff('a', 'b') }}...
When building the container, this bundle requires classes of the twigjs lib which in turn refer to assetic classes. Considering that the twigjs library doesn't mention assetic in its dependencies...
Hi Johannes, I'm following these doc: http://jmsyst.com/libs/twig.js http://jmsyst.com/bundles/JMSTwigJsBundle and understood the use of assetic variable from this doc: http://jmsyst.com/blog/asset-variables-in-assetic and added twig.js into my symfony project. (symfony: 2.1.6) 1) I've...