Update proto.js
This commit is contained in:
2
proto.js
2
proto.js
@@ -116,7 +116,7 @@ Object.defineProperty(Array.prototype, "pt", {
|
|||||||
Object.defineProperties(PointArray.prototype, {
|
Object.defineProperties(PointArray.prototype, {
|
||||||
sort: {
|
sort: {
|
||||||
value: function(func = (a, b) => a.readingOrderCompare(b)) {
|
value: function(func = (a, b) => a.readingOrderCompare(b)) {
|
||||||
this.sort(func)
|
return this.sort(func)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
includes: {
|
includes: {
|
||||||
|
|||||||
Reference in New Issue
Block a user