forked from BorisMoore/jsrender
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into warn_about_src
- Loading branch information
Showing
24 changed files
with
319 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>JsRender: Demos</title> | ||
<link href="resources/demos.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
|
||
<div class="subhead"><< <a href="index.html">Index for JsRender and JsViews</a></div> | ||
|
||
<h2>JsRender: Demos</h2> | ||
|
||
<h3>JsRender - step-by-step samples</h3> | ||
|
||
<ul class="indexitems"> | ||
<li><a href="step-by-step/01_inserting-data.html">Inserting data values</a></li> | ||
<li><a href="step-by-step/02_compiling-templates-from-strings.html">Compiling templates from strings</a></li> | ||
<li><a href="step-by-step/03_no-encoding.html">{{: }} and {{> }}</a></li> | ||
<li><a href="step-by-step/04_if-else-tag.html">{{if}} and {{else}}</a></li> | ||
<li><a href="step-by-step/05_for-tag.html">{{for}}</a></li> | ||
<li><a href="step-by-step/06_template-composition.html">Template composition</a></li> | ||
<li><a href="step-by-step/07_paths.html">Accessing paths</a></li> | ||
<li><a href="step-by-step/08_custom-tags.html">Custom tags</a></li> | ||
<li><a href="step-by-step/09_helper-functions.html">'Helper' functions</a></li> | ||
<li><a href="step-by-step/10_comparison-tests.html">Comparison tests</a></li> | ||
<li><a href="step-by-step/11_layout-templates.html">Layout templates</a></li> | ||
<li><a href="step-by-step/20_without-jquery.html">JsRender without jQuery</a></li> | ||
</ul> | ||
|
||
<h3>JsRender - scenario examples</h3> | ||
|
||
<ul class="indexitems"> | ||
<li><a href="scenarios/01_default-values-scenario.html">'Default values' scenario</a></li> | ||
<li><a href="scenarios/02_separators-scenario.html">'Separators' scenario</a></li> | ||
<li><a href="scenarios/03_iterating-through-fields-scenario.html">'Iterating through fields' scenario</a></li> | ||
<li><a href="scenarios/04_assigning-variables-scenario.html">'Assigning variables' scenario</a></li> | ||
</ul> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>JsRender: Step by step</title> | ||
<title>JsRender: Demos</title> | ||
<link href="resources/demos.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
|
||
<h2>JsRender: Next-generation jQuery Templates</h2> | ||
|
||
<div class="subhead"><em>JsRender</em>:</div> | ||
|
||
<div class="box"> | ||
<div class="desc">JsRender templates are optimized for high-performance pure string-based rendering, without DOM or jQuery dependency</div> | ||
<div class="subhead"><b><a href="step-by-step/index.html">JsRender: step-by-step samples</a></b></div> | ||
<span class="subhead">Source code:</span> | ||
<a href="https://github.com/BorisMoore/jsrender">https://github.com/BorisMoore/jsrender</a> | ||
<div class="desc">JsRender templates are optimized for high-performance pure string-based rendering, without DOM or jQuery dependency</div> | ||
<div class="subhead"><b><a href="demos.html">JsRender: Demos</a></b></div> | ||
<div class="label">Source code:</div> | ||
<div><a href="https://github.com/BorisMoore/jsrender">https://github.com/BorisMoore/jsrender</a></div> | ||
</div> | ||
|
||
<div class="subhead"><em>Tests</em>:</div> | ||
|
||
<div class="box"> | ||
<div class="subhead"><b><a href="../test/unit-tests-with-jquery.html">JsRender unit tests - with jQuery</a></b></div> | ||
<div class="subhead"><b><a href="../test/unit-tests-no-jquery.html">JsRender unit tests - without jQuery</a></b></div> | ||
<a href="../test/perf-compare.html">Perf comparison</a><br /> | ||
<div class="subhead"><b><a href="../test/unit-tests-with-jquery.html">JsRender unit tests - with jQuery</a></b></div> | ||
<div class="subhead"><b><a href="../test/unit-tests-no-jquery.html">JsRender unit tests - without jQuery</a></b></div> | ||
<div><a href="../test/perf-compare.html">Perf comparison</a></div> | ||
</div> | ||
|
||
<div class="subhead">See also on <em>JsViews</em> site:</div> | ||
|
||
<div class="box"> | ||
<div class="desc">JsViews are interactive data-driven views, built on top of JsRender templates</div> | ||
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/index.html">JsViews: Demos</a></b></div> | ||
<div class="label">JsViews and JsRender Overview:</div> | ||
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/jQueryConfDemosOct2011/index.html" >Demo sequence from jQuery Conference October 2011</a></b></div> | ||
</div> | ||
|
||
<div class="subhead">Other links:</div> | ||
|
||
<div class="box"> | ||
<div class="desc">JsViews are interactive data-driven views, built on top of JsRender templates</div> | ||
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/jQueryConfDemosOct2011/index.html">jQuery Conference October 2011: Demo sequence</a></b></div> | ||
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/index.html">JsViews: Demos</a></b></div> | ||
<div><a href="http://www.slideshare.net/BorisMoore/jsviews-next-generation-jquery-templates" >Slide deck: jQuery Conference October 2011</a></div> | ||
<div><a href="http://msdn.microsoft.com/en-us/magazine/hh882454.aspx" >MSDN 'Client Insight' article on JsRender</a></div> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
table { border-collapse: collapse; } | ||
table tr { color: blue; height: 25px; } | ||
.header { color: #009; border-bottom: solid #77c 2px; background-color: #E8E8F7; } | ||
.header th { padding:5px; border: 1px solid #77c; } | ||
thead tr { color: #009; border-bottom: solid #77c 2px; background-color: #E8E8F7; } | ||
thead th { padding:5px; border: 1px solid #77c; } | ||
#movieList tr td:first-child { width: 130px; } | ||
table { border: 2px solid blue; width: 520px; margin: 4px 0 24px 4px; padding: 2px; background-color: #f8f8f8; } | ||
table td { padding: 3px; margin: 3px; border: solid #77c 1px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.