Created
September 16, 2021 22:31
-
-
Save NickersF/8dfe725d3c73796059b6001e8d858002 to your computer and use it in GitHub Desktop.
Old Kendo Template loader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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