From f7da02dca72cbee15f276592609969f2dff37fc7 Mon Sep 17 00:00:00 2001 From: Ib Green Date: Thu, 6 Jun 2019 15:36:48 -0700 Subject: [PATCH] lint --- docs/developer-guide/external-frameworks.md | 2 +- docs/wip/features.md | 2 +- modules/core/src/lib/validators.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developer-guide/external-frameworks.md b/docs/developer-guide/external-frameworks.md index 6c3c5c8c..34cb2318 100644 --- a/docs/developer-guide/external-frameworks.md +++ b/docs/developer-guide/external-frameworks.md @@ -14,7 +14,7 @@ The math.gl API is intentionally designed to remain intuitively similar to the w Only in a few cases where `gl-matrix` methods take a long list arguments (e.g. `Matrix4.perspective`, `Matrix4.ortho` etc) or return multiple values (e.g. `quat.getAxisRotation`) do methods provide a modified API that is more natural for modern ES6 applications to use, e.g. using named parameters, or collecting all results in one returned object. -Also, for transforming vectors with matrices, the `transformVector*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors. +Also, for transforming vectors with matrices, the `transform*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors. In code that is very frequently executed, working with directly with gl-matrix can sometimes provide better performance math.gl. diff --git a/docs/wip/features.md b/docs/wip/features.md index e2f5e55b..952b959b 100644 --- a/docs/wip/features.md +++ b/docs/wip/features.md @@ -101,7 +101,7 @@ The class API is intentionally designed to remain intuitively similar to the wra Only in a few cases where `gl-matrix` methods take a long list arguments (e.g. `mat4.perspective`, `mat4.ortho` etc) or return multiple values (e.g. `quat.getAxisRotation`) do methods provide a modified API that is more natural for modern ES6 applications to use, e.g. using named parameters, or collecting all results in one returned object. -Also, for transforming vectors with matrices, the `transformVector*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors. +Also, for transforming vectors with matrices, the `transform*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors. ## Caveats diff --git a/modules/core/src/lib/validators.js b/modules/core/src/lib/validators.js index b6a1c1a3..715d341a 100644 --- a/modules/core/src/lib/validators.js +++ b/modules/core/src/lib/validators.js @@ -46,7 +46,7 @@ const map = {}; export function deprecated(method, version) { if (!map[method]) { map[method] = true; - // eslint-disasble-next-line + // eslint-disable-next-line console.warn( `${method} has been removed in version ${version}, see upgrade guide for more information` );