Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / jstemplate / tutorial_examples / 09-jsvalues.html
blob926784694189e81ef1769e06d8fcf556d77e8913
1 <html>
2 <head><title>Address Book Using Jstemplates</title>
3 <script src="../util.js" type="text/javascript"></script>
4 <script src="../jsevalcontext.js" type="text/javascript"></script>
5 <script src="../jstemplate.js" type="text/javascript"></script>
6 <script type="text/javascript">
7 function jsinit() {
8 var mydata = {end: 'Bar'};
9 var context = new JsEvalContext(mydata);
10 var template = document.getElementById('out');
11 jstProcess(context, template);
13 </script>
14 <link rel="stylesheet" type="text/css" href="css/maps2.deb.css"/>
15 </head>
16 <body onload="jsinit()">
18 <div id="out">
19 <div id="Food" jsvalues=".id:'Joe';.style.fontSize:'30pt'" jscontent="this.parentNode.id + this.id + $this.end"></div>
20 </div>
22 </body>
23 </html>