Skip to content

Commit f3ecab7

Browse files
authored
Merge pull request #7639 from bradgarner/patch-5
Update kendo.md
2 parents 7575ce8 + 7bab417 commit f3ecab7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/api/javascript/kendo.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -930,11 +930,12 @@ Wraps the generated code in a `with` block. This allows the usage of unqualified
930930
the performance of the template.
931931

932932
###### Example
933-
var template = kendo.template("<strong>#: data.name #</strong>", { useWithBlock: false }); // Note that "data." is used to qualify the field
933+
<script>
934+
var template = kendo.template("<strong>#: data.name #</strong>", { useWithBlock: false }); // Note that "data." is used to qualify the field
934935

935936
/* The result can be observed in the DevTools(F12) console of the browser. */
936-
console.log(template({ name: "John Doe" })); // outputs "<strong>John Doe</strong>"
937-
937+
console.log(template({ name: "John Doe" })); // outputs "<strong>John Doe</strong>"
938+
</script>
938939
### throttle
939940

940941
Limits the number of calls to a function to one for a specified amount of time.

0 commit comments

Comments
 (0)