Last active
December 11, 2015 16:58
-
-
Save thure/4630893 to your computer and use it in GitHub Desktop.
SCION works for Windows Store apps if you override these platform values in this way.
This file contains hidden or 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
ajax : WinJS.xhr, | |
getDocumentFromUrl : function(url,cb){ | |
this.ajax({ url: url }).then( | |
function (r) { | |
cb(null,r.responseXML); | |
}, | |
function (e) { | |
cb(e); | |
} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment