Skip to content

Instantly share code, notes, and snippets.

@linnchord
Created July 12, 2012 02:24
Show Gist options
  • Save linnchord/3095266 to your computer and use it in GitHub Desktop.
Save linnchord/3095266 to your computer and use it in GitHub Desktop.
js template sample
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script id="editor_upload_progress_tmpl" type="html/template">
<div id="uploading_bar" class="loading-bar">
<div class="progress progress-info progress-striped">
<div class="bar" style="width:<%=percent%>%;"><%=percent%>% (<%=curFile%>/<%=fileCount%>)</div>
</div>
</div>
</script>
<script type="text/javascript" src="/static/js/editor.js"></script>
</head>
<body></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment