mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Simplify injection separation by using multiple arguments to extend().
This commit is contained in:
parent
5850ef3cfc
commit
e6dc189310
1 changed files with 2 additions and 5 deletions
|
@ -367,11 +367,8 @@ Path = PathItem.extend({
|
|||
if (this.strokeColor) ctx.stroke();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Now inject methods that require scoped private functions and values.
|
||||
Path.inject(new function() {
|
||||
/**
|
||||
}, new function() { // inject methods that require scoped privates
|
||||
/**
|
||||
* Solves a tri-diagonal system for one of coordinates (x or y) of first
|
||||
* bezier control points.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue