Prebuilt module for commit c403c86a23

This commit is contained in:
Paper.js Bot 2017-06-10 12:36:43 +00:00
parent 801488f3ec
commit 9165f74efb
46 changed files with 151 additions and 131 deletions

View file

@ -1,5 +1,10 @@
# Change Log
## `0.11.4`
### Changed
- Node.js: Add support for v8, and keep testing v4, v6, v7 in Travis CI.
## `0.11.3`
### Fixed

View file

@ -1,5 +1,5 @@
/*!
* Paper.js v0.11.3-develop - The Swiss Army Knife of Vector Graphics Scripting.
* Paper.js v0.11.4-develop - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Mon Jun 5 22:47:33 2017 +0200
* Date: Sat Jun 10 14:32:35 2017 +0200
*
***
*
@ -778,7 +778,7 @@ var PaperScope = Base.extend({
}
},
version: "0.11.3-develop",
version: "0.11.4-develop",
getView: function() {
var project = this.project;
@ -1521,7 +1521,7 @@ var LinkedPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -2097,8 +2097,8 @@ new function() {
setSelected: function(selected) {
var owner = this._owner;
if (owner.changeSelection) {
owner.changeSelection(2, selected);
if (owner._changeSelection) {
owner._changeSelection(2, selected);
}
}
})
@ -3132,7 +3132,7 @@ new function() {
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -3153,7 +3153,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setSelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isFullySelected: function() {
@ -3174,7 +3174,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setFullySelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isClipMask: function() {
@ -5674,7 +5674,7 @@ var Segment = Base.extend({
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -5684,7 +5684,7 @@ var Segment = Base.extend({
},
setSelected: function(selected) {
this.changeSelection(7, selected);
this._changeSelection(7, selected);
},
getIndex: function() {
@ -5958,7 +5958,7 @@ var SegmentPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -10471,7 +10471,7 @@ PathItem.inject(new function() {
}
if (finished) {
if (closed) {
path.firstSegment.setHandleIn(handleIn);
path.getFirstSegment().setHandleIn(handleIn);
path.setClosed(closed);
}
if (path.getArea() !== 0) {

View file

@ -2043,7 +2043,7 @@ console.log(result); // { red: 0, blue: 0, green: 1 }</code></pre>
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -8471,7 +8471,7 @@ path.smooth();
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -2273,7 +2273,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -663,7 +663,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -167,7 +167,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -231,7 +231,7 @@ path.fillColor = {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -264,7 +264,7 @@ function onFrame(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6468,7 +6468,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -230,7 +230,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6078,7 +6078,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -130,7 +130,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -299,7 +299,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6454,7 +6454,7 @@ function onFrame(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -383,7 +383,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -1703,7 +1703,7 @@ Array of <tt>Number</tt>s
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -346,7 +346,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -438,7 +438,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -189,7 +189,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -11325,7 +11325,7 @@ path.smooth();
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -8233,7 +8233,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -2668,7 +2668,7 @@ var point = maxPoint * randomPoint;</code></pre>
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6664,7 +6664,7 @@ function onMouseMove(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -1286,7 +1286,7 @@ for (var i = 0; i < items.length; i++) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -7233,7 +7233,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -1558,7 +1558,7 @@ intersectionPath.fillColor = 'red';
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -901,7 +901,7 @@ path.segments[2].selected = true;
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6967,7 +6967,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -1784,7 +1784,7 @@ var size = maxSize * randomSize;</code></pre>
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -910,7 +910,7 @@ var circle = new Path.Circle({
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -302,7 +302,7 @@ for (var i = 0; i < 100; i++) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6359,7 +6359,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -6473,7 +6473,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -752,7 +752,7 @@ tool.onKeyDown = function(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -437,7 +437,7 @@ function onMouseUp(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -1763,7 +1763,7 @@ function onMouseDown(event) {
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -414,7 +414,7 @@
<!-- =========================== copyright notice ========================== -->
<p class="footer">
Paper.js v0.11.3 (develop)<br>
Paper.js v0.11.4 (develop)<br>
Copyright &#169; 2011—2017 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
<div class="content-end"></div>

View file

@ -2,13 +2,13 @@
<html>
<head>
<meta charset="UTF-8">
<title>Paper.js v0.11.3 (develop)</title>
<title>Paper.js v0.11.4 (develop)</title>
<base target="class-frame">
<link href="../assets/css/docs.css" rel="stylesheet" type="text/css">
</head>
<body class="reference">
<div class="reference-index">
<h1>Paper.js<span class="version">0.11.3 (develop)</span></h1>
<h1>Paper.js<span class="version">0.11.4 (develop)</span></h1>
<ul class="reference-classes"><li><a href="../classes/global.html">Global Scope</a></li>
<li>
<h2>Basic Types</h2>

View file

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>Paper.js v0.11.3 (develop)</title>
<title>Paper.js v0.11.4 (develop)</title>
</head>
<frameset cols="230,*">
<frame src="classes/index.html" name="packageListFrame" title="All Packages">

26
dist/paper-core.js vendored
View file

@ -1,5 +1,5 @@
/*!
* Paper.js v0.11.3-develop - The Swiss Army Knife of Vector Graphics Scripting.
* Paper.js v0.11.4-develop - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Mon Jun 5 22:47:33 2017 +0200
* Date: Sat Jun 10 14:32:35 2017 +0200
*
***
*
@ -778,7 +778,7 @@ var PaperScope = Base.extend({
}
},
version: "0.11.3-develop",
version: "0.11.4-develop",
getView: function() {
var project = this.project;
@ -1521,7 +1521,7 @@ var LinkedPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -2097,8 +2097,8 @@ new function() {
setSelected: function(selected) {
var owner = this._owner;
if (owner.changeSelection) {
owner.changeSelection(2, selected);
if (owner._changeSelection) {
owner._changeSelection(2, selected);
}
}
})
@ -3132,7 +3132,7 @@ new function() {
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -3153,7 +3153,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setSelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isFullySelected: function() {
@ -3174,7 +3174,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setFullySelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isClipMask: function() {
@ -5674,7 +5674,7 @@ var Segment = Base.extend({
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -5684,7 +5684,7 @@ var Segment = Base.extend({
},
setSelected: function(selected) {
this.changeSelection(7, selected);
this._changeSelection(7, selected);
},
getIndex: function() {
@ -5958,7 +5958,7 @@ var SegmentPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -10471,7 +10471,7 @@ PathItem.inject(new function() {
}
if (finished) {
if (closed) {
path.firstSegment.setHandleIn(handleIn);
path.getFirstSegment().setHandleIn(handleIn);
path.setClosed(closed);
}
if (path.getArea() !== 0) {

File diff suppressed because one or more lines are too long

26
dist/paper-full.js vendored
View file

@ -1,5 +1,5 @@
/*!
* Paper.js v0.11.3-develop - The Swiss Army Knife of Vector Graphics Scripting.
* Paper.js v0.11.4-develop - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Mon Jun 5 22:47:33 2017 +0200
* Date: Sat Jun 10 14:32:35 2017 +0200
*
***
*
@ -778,7 +778,7 @@ var PaperScope = Base.extend({
}
},
version: "0.11.3-develop",
version: "0.11.4-develop",
getView: function() {
var project = this.project;
@ -1521,7 +1521,7 @@ var LinkedPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -2097,8 +2097,8 @@ new function() {
setSelected: function(selected) {
var owner = this._owner;
if (owner.changeSelection) {
owner.changeSelection(2, selected);
if (owner._changeSelection) {
owner._changeSelection(2, selected);
}
}
})
@ -3132,7 +3132,7 @@ new function() {
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -3153,7 +3153,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setSelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isFullySelected: function() {
@ -3174,7 +3174,7 @@ new function() {
for (var i = 0, l = children.length; i < l; i++)
children[i].setFullySelected(selected);
}
this.changeSelection(1, selected);
this._changeSelection(1, selected);
},
isClipMask: function() {
@ -5674,7 +5674,7 @@ var Segment = Base.extend({
}
},
changeSelection: function(flag, selected) {
_changeSelection: function(flag, selected) {
var selection = this._selection;
this.setSelection(selected ? selection | flag : selection & ~flag);
},
@ -5684,7 +5684,7 @@ var Segment = Base.extend({
},
setSelected: function(selected) {
this.changeSelection(7, selected);
this._changeSelection(7, selected);
},
getIndex: function() {
@ -5958,7 +5958,7 @@ var SegmentPoint = Point.extend({
},
setSelected: function(selected) {
this._owner.changeSelection(this._getSelection(), selected);
this._owner._changeSelection(this._getSelection(), selected);
},
_getSelection: function() {
@ -10471,7 +10471,7 @@ PathItem.inject(new function() {
}
if (finished) {
if (closed) {
path.firstSegment.setHandleIn(handleIn);
path.getFirstSegment().setHandleIn(handleIn);
path.setClosed(closed);
}
if (path.getArea() !== 0) {

File diff suppressed because one or more lines are too long

93
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.11.3",
"version": "0.11.4",
"lockfileVersion": 1,
"dependencies": {
"abab": {
@ -1773,13 +1773,6 @@
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"dev": true
},
"jodid25519": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz",
"integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=",
"dev": true,
"optional": true
},
"js-beautify": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.5.10.tgz",
@ -2258,15 +2251,15 @@
"dev": true
},
"readable-stream": {
"version": "2.2.10",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.10.tgz",
"integrity": "sha512-HQEnnoV404e0EtwB9yNiuk2tJ+egeVC8Y9QBAxzDg8DBJt4BzRp+yQuIb/t3FIWkSTmIi+sgx7yVv/ZM0GNoqw==",
"version": "2.2.11",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.11.tgz",
"integrity": "sha512-h+8+r3MKEhkiVrwdKL8aWs1oc1VvBu33ueshOvS26RsZQ3Amhx/oO3TKe4lApSV9ueY6as8EAh7mtuFjdlhg9Q==",
"dev": true
},
"string_decoder": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz",
"integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz",
"integrity": "sha1-sp4fThEl+pehA4K4pTNze3SR4Xk=",
"dev": true
}
}
@ -2644,10 +2637,32 @@
"dev": true
},
"randomatic": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz",
"integrity": "sha1-EQ3Kv/OX6dz/fAeJzMCkmt8exbs=",
"dev": true
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz",
"integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==",
"dev": true,
"dependencies": {
"is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
"dev": true,
"dependencies": {
"kind-of": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"dev": true
}
}
},
"kind-of": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
"integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
"dev": true
}
}
},
"range-parser": {
"version": "1.2.0",
@ -2710,9 +2725,9 @@
"dev": true
},
"remove-trailing-separator": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz",
"integrity": "sha1-YV67lq9VlVLUv0BXyENtSGq2PMQ=",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz",
"integrity": "sha1-abBi2XhyetFNxrVrpKt3L9jXBRE=",
"dev": true
},
"repeat-element": {
@ -2794,9 +2809,9 @@
"dev": true
},
"safe-buffer": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.0.tgz",
"integrity": "sha512-aSLEDudu6OoRr/2rU609gRmnYboRLxgDG1z9o2Q0os7236FwvcqIOO8r8U5JUEwivZOhDaKlFO4SbPTJYyBEyQ==",
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz",
"integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=",
"dev": true
},
"sax": {
@ -2918,9 +2933,9 @@
"dev": true
},
"sshpk": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.0.tgz",
"integrity": "sha1-/yo+T9BEl1Vf7Zezmg/YL6+zozw=",
"version": "1.13.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz",
"integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
"dev": true,
"dependencies": {
"assert-plus": {
@ -3004,15 +3019,15 @@
"dev": true
},
"readable-stream": {
"version": "2.2.10",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.10.tgz",
"integrity": "sha512-HQEnnoV404e0EtwB9yNiuk2tJ+egeVC8Y9QBAxzDg8DBJt4BzRp+yQuIb/t3FIWkSTmIi+sgx7yVv/ZM0GNoqw==",
"version": "2.2.11",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.11.tgz",
"integrity": "sha512-h+8+r3MKEhkiVrwdKL8aWs1oc1VvBu33ueshOvS26RsZQ3Amhx/oO3TKe4lApSV9ueY6as8EAh7mtuFjdlhg9Q==",
"dev": true
},
"string_decoder": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz",
"integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz",
"integrity": "sha1-sp4fThEl+pehA4K4pTNze3SR4Xk=",
"dev": true
}
}
@ -3074,15 +3089,15 @@
"dev": true
},
"readable-stream": {
"version": "2.2.10",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.10.tgz",
"integrity": "sha512-HQEnnoV404e0EtwB9yNiuk2tJ+egeVC8Y9QBAxzDg8DBJt4BzRp+yQuIb/t3FIWkSTmIi+sgx7yVv/ZM0GNoqw==",
"version": "2.2.11",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.11.tgz",
"integrity": "sha512-h+8+r3MKEhkiVrwdKL8aWs1oc1VvBu33ueshOvS26RsZQ3Amhx/oO3TKe4lApSV9ueY6as8EAh7mtuFjdlhg9Q==",
"dev": true
},
"string_decoder": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz",
"integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz",
"integrity": "sha1-sp4fThEl+pehA4K4pTNze3SR4Xk=",
"dev": true
}
}

View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.11.3",
"version": "0.11.4",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"license": "MIT",
"homepage": "http://paperjs.org",
@ -34,7 +34,7 @@
"README.md"
],
"engines": {
"node": ">=4.0.0 <8.0.0"
"node": ">=4.0.0"
},
"devDependencies": {
"acorn": "~0.5.0",