- Linting (JSDoc): Update per newly enforced require-returns; avoid Closure syntax
- Docs (JSDoc): Prefer `void` - npm: Update devDeps
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user