Add svg element to async objects (reviver)

If async objects parsed (image), the reviver svg element is undefined.
You can see it here:
http://jsfiddle.net/Kienz/nhYww/
This commit is contained in:
Stefan Kienzle 2013-04-05 19:06:02 +03:00
parent 79a9d551c7
commit 9c76ba0f92

View file

@ -356,7 +356,7 @@
instances.splice(index, 0, obj);
checkIfDone();
};
})(index), options);
})(index, el), options);
}
else {
var obj = klass.fromElement(el, options);