jquery-tmpl
jquery-tmpl copied to clipboard
missing ) in parenthetical
Hi,
Please consider the following code:
<script id="template-ui-1" type="text/x-jquery-tmpl">
{{tmpl({"text":"Select issue(s) to monitor"}) "#partial-template-ui"}}
</script>
<script id="template-ui-2" type="text/x-jquery-tmpl">
{{tmpl({"text":"Select issue(s) to monitor"}) "#partial-template-ui"}}
</script>
<script id="partial-template-ui" type="text/x-jquery-tmpl">
<div>${text}</div>
</script>
<script text="text/javascript">
$(document).ready(function(){
//this throws 'missing ) in parenthetical'
$("#template-ui-1").tmpl().appendTo("#content");
//this works fine
$("#template-ui-2").tmpl().appendTo("#content");
})
</script>
Thanks for taking the time to submit this issue. Just wanted to let you know this plugin is no longer being actively developed or maintained by the jQuery team. See README for more info.