We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614bd5c commit 95e85faCopy full SHA for 95e85fa
src/io/files.js
@@ -648,7 +648,7 @@ p5.prototype.loadXML = function(path, callback) {
648
var x = resp.documentElement;
649
ret.appendChild(x);
650
if (typeof callback !== 'undefined') {
651
- callback(resp);
+ callback(ret);
652
}
653
if (decrementPreload && (callback !== decrementPreload)) {
654
decrementPreload();
0 commit comments