eslint fixes

This commit is contained in:
Richard Davey 2018-10-12 18:56:56 +01:00
parent a043cc88ea
commit b3804a2455
3 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,8 @@ src/geom/polygon/Earcut.js
src/utils/array/StableSort.js
src/utils/object/Extend.js
src/structs/RTree.js
src/dom/_ScaleManager.js
src/dom/VisualBounds.js
webpack.config.js
webpack.dist.config.js
webpack.fb.config.js

View file

@ -71,7 +71,7 @@ function init ()
{
OS.windows = true;
}
else if (/Mac OS/.test(ua) && !/like Mac OS/.test(ua))
else if (/Mac OS/.test(ua) && !(/like Mac OS/.test(ua)))
{
OS.macOS = true;
}

View file

@ -343,7 +343,7 @@ var ScaleManager = new Class({
}
},
step: function (time, delta)
step: function ()
{
// canvas.clientWidth and clientHeight = canvas size when scaled with 100% object-fit, ignoring borders, margin, etc
},