- Linting (JSDoc): Update per newly enforced require-returns; avoid Closure syntax

- Docs (JSDoc): Prefer `void`
- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-04-16 08:58:40 +08:00
parent 7ca6b458e6
commit 894fed3e80
11 changed files with 84 additions and 52 deletions

View File

@@ -291,6 +291,7 @@ QUnit.test('Test getBBoxOfElementAsPath', function (assert) {
/**
* Wrap `utilities.getBBoxOfElementAsPath` to convert bbox to object for testing.
* @implements {module:utilities.getBBoxOfElementAsPath}
* @returns {DOMRect|false} The resulting path's bounding box object.
*/
function getBBoxOfElementAsPath (elem, addSVGElementFromJson, pathActions) {
const bbox = utilities.getBBoxOfElementAsPath(elem, addSVGElementFromJson, pathActions);