by kenjackson · 15y ago · 0 comments
<script type="text/html" id="subtitles-tmpl">
<%each sub in subtitles %>
<% if ( sub.text ) { %>
<li data-time="<%= sub.start_time %>">
<span class="time"><%= Math.floor(Math.round(sub.start_time) / 60) %>:<%= pad( Math.round(sub.start_time) % 60 ) %></span>
I haven't seen this type of script templating before? Is this just standard? Part of jQuery? Part of something else.