<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<
<script src="pp.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<ul id="movieList"></ul>
<script id="movieTemplate" type="text/html">
<li><b>${Name}</b> (${ReleaseYear})</li>
</script>
<script type="text/javascript">
var movies = [
{ Name: "The Red Violin", ReleaseYear: "1998" },
{ Name: "Eyes Wide Shut", ReleaseYear: "1999" },
{ Name: "The Inheritance", ReleaseYear: "1976" }
];
// Render the template with the movies data and insert
// the rendered HTML under the "movieList" element
dd = $( "#movieTemplate" ).tmpl( movies )
.appendTo( "#movieList" );
console.log(dd);
</script>
</body>
</html>
这里的pp.js就是app.min.js,
http://justcoding.iteye.com/blog/1553602/