mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Improve comment about JavaScriptCore bug.
This commit is contained in:
parent
b6d2d83af5
commit
1ee29d56ac
1 changed files with 5 additions and 4 deletions
|
@ -422,10 +422,11 @@ var Segment = this.Segment = Base.extend(/** @lends Segment# */{
|
||||||
}
|
}
|
||||||
return coords;
|
return coords;
|
||||||
// NOTE: There is a very strange bug in JavaScriptCore that causes
|
// NOTE: There is a very strange bug in JavaScriptCore that causes
|
||||||
// segments to receive wrong values after the transformation of a very
|
// segments to receive wrong handleIn values after the transformation of
|
||||||
// large amount of segments. For some strange reason, this unreachable
|
// a very large amount of segments.
|
||||||
// stamement causes JavaScriptCore to optimize code differently and not
|
// For some strange reason, this unreachable stamement causes
|
||||||
// cause the error. There is no nop() function...
|
// JavaScriptCore to optimize code differently and not cause the error.
|
||||||
|
// Note that there is no nop() function...
|
||||||
nop().nop();
|
nop().nop();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue