mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix leaked global.
This commit is contained in:
parent
8da82fed19
commit
fbe787dc4d
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
|||
if (!cached || area == null) {
|
||||
var segments = this._segments,
|
||||
count = segments.length,
|
||||
closed = cached ? this._closed : _closed;
|
||||
closed = cached ? this._closed : _closed,
|
||||
last = count - 1;
|
||||
area = 0;
|
||||
for (var i = 0, l = closed ? count : last; i < l; i++) {
|
||||
|
|
Loading…
Reference in a new issue