diff --git a/dist/docs/assets/js/paper.js b/dist/docs/assets/js/paper.js index 50afe7cb..b7c43df3 100644 --- a/dist/docs/assets/js/paper.js +++ b/dist/docs/assets/js/paper.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Mon Feb 1 12:58:52 2016 +0100 + * Date: Mon Feb 1 20:15:37 2016 +0100 * *** * @@ -3801,7 +3801,6 @@ new function() { } else { child.remove(); } - child.copyAttributes(this); return child; } return this; @@ -4890,9 +4889,9 @@ var Raster = Item.extend({ image = document.getElementById(src) || new window.Image(); if (crossOrigin) image.crossOrigin = crossOrigin; - this.setImage(image); if (!image.src) image.src = src; + this.setImage(image); }, getCrossOrigin: function() { @@ -13641,7 +13640,7 @@ new function() { onLoad = options.onLoad, view = scope.project && scope.getView(); if (onLoad) - onLoad.call(this, item); + onLoad.call(this, item, svg); } if (isRoot) { diff --git a/dist/docs/classes/CompoundPath.html b/dist/docs/classes/CompoundPath.html index fd943d56..66d529cd 100644 --- a/dist/docs/classes/CompoundPath.html +++ b/dist/docs/classes/CompoundPath.html @@ -3730,9 +3730,7 @@ function onMouseDown(event) {
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
Converts the provided SVG content into Paper.js items and adds them to the active layer of this project. Note that the project is not cleared first. You can call project.clear() to do so.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.
item
and the original svg
data as a string. Only required when loading from external files.item
and the original svg
data as a string. Only required when loading from external files.