Index: chrome/third_party/jstemplate/tutorial_examples/04-jscontent.html |
=================================================================== |
--- chrome/third_party/jstemplate/tutorial_examples/04-jscontent.html (revision 177458) |
+++ chrome/third_party/jstemplate/tutorial_examples/04-jscontent.html (working copy) |
@@ -1,29 +0,0 @@ |
-<html> |
-<head><title>Jstemplates: Quick example</title> |
- <script src="../util.js" type="text/javascript"></script> |
- <script src="../jsevalcontext.js" type="text/javascript"></script> |
- <script src="../jstemplate.js" type="text/javascript"></script> |
- <script type="text/javascript"> |
- var tplData = "Joe User"; |
- |
- function showData() { |
- // This is the javascript code that processes the template: |
- var input = new JsEvalContext(tplData); |
- var output = document.getElementById('tpl'); |
- jstProcess(input, output); |
- } |
- </script> |
-</head> |
-<body onload="showData()"> |
- |
-<!-- |
-This is the template: |
---> |
-<div id="tpl"> |
-Welcome <span jscontent="$this"> |
-(This placeholder name will be replaced by the actual username.) |
-</span> |
-</div> |
- |
-</body> |
-</html> |