Skip to content

Commit

Permalink
Minor fixes on demo pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisMoore committed Jun 8, 2011
1 parent c5189d0 commit 53f4719
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Documentation for the _jQuery Templates_ plugin can be found on the jQuery docum

See also [http://www.borismoore.com/2010/10/jquery-templates-is-now-official-jquery.html] (http://www.borismoore.com/2010/10/jquery-templates-is-now-official-jquery.html) for more background.

Live versions of demos from this repository can be found at [http://jquery.github.com/jquery-tmpl/demos/step-by-step.html] (http://jquery.github.com/jquery-tmpl/demos/step-by-step.html).

<p>The beta1 version of jQuery Templates is available on CDN at:
<ul>
<li><a href="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.js">http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.js</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ <h3>Demo: Using {{if}} and {{else}} to render conditional sections.</h3>
{{/if}}
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
1 change: 0 additions & 1 deletion demos/step-by-step/0_tmpl-read-only/3_if-else-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h3>Demo: Using {{if}} and {{else}} to render conditional sections.</h3>
{{/if}}
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
1 change: 0 additions & 1 deletion demos/step-by-step/0_tmpl-read-only/4_each-tag-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h3>Demo: Using {{each}} to render repeating sections.</h3>
</em>
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
1 change: 0 additions & 1 deletion demos/step-by-step/0_tmpl-read-only/4_each-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ <h3>Demo: Using {{each}} to render repeating sections.</h3>
</em>
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ <h3>Demo: Using JavaScript expressions and functions calls within templates.</h3
</em>
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
1 change: 0 additions & 1 deletion demos/step-by-step/0_tmpl-read-only/5_javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ <h3>Demo: Using JavaScript expressions and functions calls within templates.</h3
</em>
</td>
</tr>
</li>
</script>

<table><tbody class="header"><tr><th>Synopsis</th><th>Title</th></tr></tbody>
Expand Down
2 changes: 1 addition & 1 deletion jquery.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
// Compile template and associate with name
if ( typeof tmpl === "string" ) {
// This is an HTML string being passed directly in.
tmpl = buildTmplFn( tmpl )
tmpl = buildTmplFn( tmpl );
} else if ( tmpl instanceof jQuery ) {
tmpl = tmpl[0] || {};
}
Expand Down
2 changes: 1 addition & 1 deletion jquery.tmpl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53f4719

Please sign in to comment.