mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Prebuilt module for commit ca76c1d24f
This commit is contained in:
parent
e60cd6362b
commit
8bdbfcdb5f
5 changed files with 36 additions and 24 deletions
12
dist/docs/assets/js/paper.js
vendored
12
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 15 19:13:16 2016 +0100
|
||||
* Date: Wed Mar 16 09:56:10 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -2715,6 +2715,9 @@ var Project = PaperScopeItem.extend({
|
|||
layer._remove(false, true);
|
||||
Base.splice(this._children, [layer], index, 0);
|
||||
layer._setProject(this, true);
|
||||
var name = layer._name;
|
||||
if (name)
|
||||
layer.setName(name);
|
||||
if (this._changes)
|
||||
layer._changed(5);
|
||||
if (!this._activeLayer)
|
||||
|
@ -3832,11 +3835,12 @@ new function() {
|
|||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i];
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
if (item._name)
|
||||
item.setName(item._name);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
this._changed(5);
|
||||
}
|
||||
|
|
12
dist/paper-core.js
vendored
12
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 15 19:13:16 2016 +0100
|
||||
* Date: Wed Mar 16 09:56:10 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -2715,6 +2715,9 @@ var Project = PaperScopeItem.extend({
|
|||
layer._remove(false, true);
|
||||
Base.splice(this._children, [layer], index, 0);
|
||||
layer._setProject(this, true);
|
||||
var name = layer._name;
|
||||
if (name)
|
||||
layer.setName(name);
|
||||
if (this._changes)
|
||||
layer._changed(5);
|
||||
if (!this._activeLayer)
|
||||
|
@ -3832,11 +3835,12 @@ new function() {
|
|||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i];
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
if (item._name)
|
||||
item.setName(item._name);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
this._changed(5);
|
||||
}
|
||||
|
|
8
dist/paper-core.min.js
vendored
8
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
12
dist/paper-full.js
vendored
12
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 15 19:13:16 2016 +0100
|
||||
* Date: Wed Mar 16 09:56:10 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -2715,6 +2715,9 @@ var Project = PaperScopeItem.extend({
|
|||
layer._remove(false, true);
|
||||
Base.splice(this._children, [layer], index, 0);
|
||||
layer._setProject(this, true);
|
||||
var name = layer._name;
|
||||
if (name)
|
||||
layer.setName(name);
|
||||
if (this._changes)
|
||||
layer._changed(5);
|
||||
if (!this._activeLayer)
|
||||
|
@ -3832,11 +3835,12 @@ new function() {
|
|||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i];
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
if (item._name)
|
||||
item.setName(item._name);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
this._changed(5);
|
||||
}
|
||||
|
|
16
dist/paper-full.min.js
vendored
16
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue