Prebuilt module for commit add28666cf

This commit is contained in:
Paper.js Bot 2016-02-14 13:07:19 +00:00
parent a1d304538e
commit 6ce1c3ccf9
5 changed files with 28 additions and 22 deletions

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Feb 14 13:49:40 2016 +0100 * Date: Mon Jan 11 15:54:07 2016 +0500
* *
*** ***
* *
@ -6310,7 +6310,8 @@ statics: {
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
} }
}, },
@ -7407,7 +7408,8 @@ var PathItem = Item.extend({
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
}, },
interpolate: function(from, to, factor) { interpolate: function(from, to, factor) {

8
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Feb 14 13:49:40 2016 +0100 * Date: Mon Jan 11 15:54:07 2016 +0500
* *
*** ***
* *
@ -6310,7 +6310,8 @@ statics: {
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
} }
}, },
@ -7407,7 +7408,8 @@ var PathItem = Item.extend({
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
}, },
interpolate: function(from, to, factor) { interpolate: function(from, to, factor) {

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. * All rights reserved.
* *
* Date: Sun Feb 14 13:49:40 2016 +0100 * Date: Mon Jan 11 15:54:07 2016 +0500
* *
*** ***
* *
@ -6310,7 +6310,8 @@ statics: {
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
} }
}, },
@ -7407,7 +7408,8 @@ var PathItem = Item.extend({
}, },
getNearestPoint: function() { getNearestPoint: function() {
return this.getNearestLocation.apply(this, arguments).getPoint(); var loc = this.getNearestLocation.apply(this, arguments);
return loc ? loc.getPoint() : loc;
}, },
interpolate: function(from, to, factor) { interpolate: function(from, to, factor) {

File diff suppressed because one or more lines are too long