enforce a few eslint rules

This commit is contained in:
JFH
2021-05-13 01:00:09 +02:00
parent 9a5292b467
commit d3974f8f17
148 changed files with 1402 additions and 1398 deletions

View File

@@ -19,8 +19,8 @@
* @property {Float} y
*/
import {NS} from '../common/namespaces.js';
import {getTransformList} from './svgtransformlist.js';
import { NS } from '../common/namespaces.js';
import { getTransformList } from './svgtransformlist.js';
// Constants
const NEAR_ZERO = 1e-14;
@@ -38,7 +38,7 @@ const svg = document.createElementNS(NS.SVG, 'svg');
* @returns {module:math.XYObject} An x, y object representing the transformed point
*/
export const transformPoint = function (x, y, m) {
return {x: m.a * x + m.c * y + m.e, y: m.b * x + m.d * y + m.f};
return { x: m.a * x + m.c * y + m.e, y: m.b * x + m.d * y + m.f };
};
/**