mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Reformat to fit 80 chars boundary.
This commit is contained in:
parent
d82eb4534c
commit
b8816a07f5
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ Path = PathItem.extend(new function() {
|
|||
var path = new Path();
|
||||
path.closed = true;
|
||||
var rectangle = Rectangle.read(arguments);
|
||||
var corners = ['bottomLeft', 'topLeft', 'topRight', 'bottomRight'];
|
||||
var corners = ['bottomLeft', 'topLeft', 'topRight',
|
||||
'bottomRight'];
|
||||
for (var i = 0; i < 4; i++) {
|
||||
path.add(rectangle[corners[i]]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue