Skip to content

Commit

Permalink
additional fixes to templates doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatrom committed Jul 26, 2012
1 parent bb4cd79 commit 3f79858
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions getting-started/framework/templates/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ For example, to display a list of items using JavaScript and Kendo UI templates,

<script id="javascriptTemplate" type="text/x-kendo-template">
<ul>
<# for (var i = 0; i < data.length; i++) { #>
<li><#= data[i] #></li>
<# } #>
# for (var i = 0; i < data.length; i++) { #
<li>#= data[i] #</li>
# } #
<ul>
<script>
</ script>


To then consume this external template with an expression, we simply need to initialize a template that uses this definition and receives an array of values:
Expand Down

0 comments on commit 3f79858

Please sign in to comment.