mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Small variable name change.
This commit is contained in:
parent
056dcceacc
commit
af1c6830e0
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue