Prebuilt module for commit 0eae0b6e4d

This commit is contained in:
Paper.js Bot 2019-06-09 14:32:10 +00:00
parent e3f0c9d29d
commit 95c18db6a2
7 changed files with 34 additions and 21 deletions

View file

@ -10,6 +10,7 @@
- SVG Export: Fix error when `Item#matrix` is not invertible (#1580).
- SVG Import: Fix gradient default values (#1632).
- JSON Import: Prevent overriding `Item#insert()` (#1392).
# `0.12.1`

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sat Oct 6 15:37:44 2018 +0200
* Date: Mon Nov 5 18:11:13 2018 +0100
*
***
*
@ -546,8 +546,12 @@ statics: {
if (args.length === 1 && obj instanceof Item
&& (useTarget || !(obj instanceof Layer))) {
var arg = args[0];
if (Base.isPlainObject(arg))
if (Base.isPlainObject(arg)) {
arg.insert = false;
if (useTarget) {
args = args.concat([{ insert: true }])
}
}
}
(useTarget ? obj.set : ctor).apply(obj, args);
if (useTarget)

8
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sat Oct 6 15:37:44 2018 +0200
* Date: Mon Nov 5 18:11:13 2018 +0100
*
***
*
@ -546,8 +546,12 @@ statics: {
if (args.length === 1 && obj instanceof Item
&& (useTarget || !(obj instanceof Layer))) {
var arg = args[0];
if (Base.isPlainObject(arg))
if (Base.isPlainObject(arg)) {
arg.insert = false;
if (useTarget) {
args = args.concat([{ insert: true }])
}
}
}
(useTarget ? obj.set : ctor).apply(obj, args);
if (useTarget)

File diff suppressed because one or more lines are too long

8
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sat Oct 6 15:37:44 2018 +0200
* Date: Mon Nov 5 18:11:13 2018 +0100
*
***
*
@ -546,8 +546,12 @@ statics: {
if (args.length === 1 && obj instanceof Item
&& (useTarget || !(obj instanceof Layer))) {
var arg = args[0];
if (Base.isPlainObject(arg))
if (Base.isPlainObject(arg)) {
arg.insert = false;
if (useTarget) {
args = args.concat([{ insert: true }])
}
}
}
(useTarget ? obj.set : ctor).apply(obj, args);
if (useTarget)

File diff suppressed because one or more lines are too long

2
dist/paper.d.ts vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sat Oct 6 15:37:44 2018 +0200
* Date: Mon Nov 5 18:11:13 2018 +0100
*
* This is an auto-generated type definition.
*/