handlebars.js - Rendering Handlebarsjs templates in Symfony 1.4 -
i experimenting js libraries in symfony 1.4 development environment. want utilize handlebarsjs. semantic markup typically enclosed within script tags, , script tag points handlebars.js. code symfony template looks when rendered using handlebars.js:
<script type ="text/x-handlebars-templates" id="dashboard" name="handlebarsdashboard" src="handlebars.js"> <section> <!-- render semantic markup --> </section> </script>
the handlebars.js file located in /web/js/handlebars.js. , in view.yml of app, have :
javascripts : [handlebars.js]
although think above not important.
the problem is, nil renders itself. because of symfony imo.
anybody want tell me what's up?
symfony-1.4 handlebars.js
No comments:
Post a Comment