File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -930,11 +930,12 @@ Wraps the generated code in a `with` block. This allows the usage of unqualified
930930the 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
940941Limits the number of calls to a function to one for a specified amount of time.
You can’t perform that action at this time.
0 commit comments