Hacker News new | past | comments | ask | show | jobs | submit login

Nice although I think I prefer the style to separate the htm from the js

    <template id='mytemplate'>
      my data is {{data}}
    </template>

    <script>
      doit('mytemplate', 'http://api.dribbble.com/.../shots')    
      
      // or jq plugin
      $('#mytemplate').render('http://...');   
    </script>



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: