Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dostuff() {
- var j = document.getElementById("mycontent");
- j.innerText = "";
- var b = new WindowsRuntimeComponent6.Class1();
- var c = b.initializeAsync().done(onStuffComplete, onStuffError);
- }
- function onStuffComplete() {
- var j = document.getElementById("mycontent");
- j.innerText = "the function completed";
- }
- function onStuffError() {
- var j = document.getElementById("mycontent");
- j.innerText = "the function had an error";
- }
Add Comment
Please, Sign In to add comment