mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 919615f168
This commit is contained in:
parent
ee603e4911
commit
0acbcbbf47
5 changed files with 13 additions and 55 deletions
16
dist/docs/assets/js/paper.js
vendored
16
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
* Date: Wed Feb 22 17:05:23 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7338,20 +7338,6 @@ var CurveLocation = Base.extend({
|
|||
return res;
|
||||
},
|
||||
|
||||
getOffsetTo: function(loc) {
|
||||
var offset = null,
|
||||
path = this.getPath();
|
||||
if (path && path === loc.getPath()) {
|
||||
var offset1 = this.getOffset(),
|
||||
offset2 = loc.getOffset();
|
||||
offset = offset2 - offset1;
|
||||
if (offset < 0 && path._closed) {
|
||||
offset = path.getLength() - offset2 + offset1;
|
||||
}
|
||||
}
|
||||
return offset;
|
||||
},
|
||||
|
||||
equals: function(loc, _ignoreOther) {
|
||||
var res = this === loc;
|
||||
if (!res && loc instanceof CurveLocation) {
|
||||
|
|
16
dist/paper-core.js
vendored
16
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
* Date: Wed Feb 22 17:05:23 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7338,20 +7338,6 @@ var CurveLocation = Base.extend({
|
|||
return res;
|
||||
},
|
||||
|
||||
getOffsetTo: function(loc) {
|
||||
var offset = null,
|
||||
path = this.getPath();
|
||||
if (path && path === loc.getPath()) {
|
||||
var offset1 = this.getOffset(),
|
||||
offset2 = loc.getOffset();
|
||||
offset = offset2 - offset1;
|
||||
if (offset < 0 && path._closed) {
|
||||
offset = path.getLength() - offset2 + offset1;
|
||||
}
|
||||
}
|
||||
return offset;
|
||||
},
|
||||
|
||||
equals: function(loc, _ignoreOther) {
|
||||
var res = this === loc;
|
||||
if (!res && loc instanceof CurveLocation) {
|
||||
|
|
10
dist/paper-core.min.js
vendored
10
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
16
dist/paper-full.js
vendored
16
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
* Date: Wed Feb 22 17:05:23 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7338,20 +7338,6 @@ var CurveLocation = Base.extend({
|
|||
return res;
|
||||
},
|
||||
|
||||
getOffsetTo: function(loc) {
|
||||
var offset = null,
|
||||
path = this.getPath();
|
||||
if (path && path === loc.getPath()) {
|
||||
var offset1 = this.getOffset(),
|
||||
offset2 = loc.getOffset();
|
||||
offset = offset2 - offset1;
|
||||
if (offset < 0 && path._closed) {
|
||||
offset = path.getLength() - offset2 + offset1;
|
||||
}
|
||||
}
|
||||
return offset;
|
||||
},
|
||||
|
||||
equals: function(loc, _ignoreOther) {
|
||||
var res = this === loc;
|
||||
if (!res && loc instanceof CurveLocation) {
|
||||
|
|
10
dist/paper-full.min.js
vendored
10
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue