mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-02 21:36:11 +03:00
1540 Use strict equality instead of loose equality
This commit is contained in:
parent
dadef91ce0
commit
b4bf21cda8
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ $.Drawer.prototype = {
|
|||
context.beginPath();
|
||||
polygons.forEach(function (polygon) {
|
||||
polygon.forEach(function (coord, i) {
|
||||
context[i == 0 ? 'moveTo' : 'lineTo'](coord.x, coord.y);
|
||||
context[i === 0 ? 'moveTo' : 'lineTo'](coord.x, coord.y);
|
||||
});
|
||||
});
|
||||
context.clip();
|
||||
|
|
Loading…
Add table
Reference in a new issue