Skip to content

Instantly share code, notes, and snippets.

@NickersF
Created September 16, 2021 22:31
Show Gist options
  • Save NickersF/8dfe725d3c73796059b6001e8d858002 to your computer and use it in GitHub Desktop.
Save NickersF/8dfe725d3c73796059b6001e8d858002 to your computer and use it in GitHub Desktop.
Old Kendo Template loader
export function irisTileViewBuilder(paths) {
for (let i = 0; i < paths.length; i++) {
$.get(paths[i]).done(function (result) {
$("body").append(result);
}).then(function (result) {
let bodyTemplate = kendo.template($("#TestTemplate").html(), { useWithBlock: false });
// function call to create tileview here
}).fail(function () {
console.log("Template loading failed");
});;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment