diff --git a/src/svg/SVGImport.js b/src/svg/SVGImport.js index cd2b6f68..540c7f6f 100644 --- a/src/svg/SVGImport.js +++ b/src/svg/SVGImport.js @@ -501,9 +501,9 @@ new function() { options = { onLoad: options }; // Remember current scope so we can restore it in the callback. var scope = paper; - return Http.request('get', node, function(xml) { + return Http.request('get', node, function(svg) { paper = scope; - var item = importSVG(xml, isRoot, options), + var item = importSVG(svg, isRoot, options), onLoad = options.onLoad, view = scope.project && scope.project.view; if (onLoad)