- Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)

- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg
- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-07-02 12:21:21 +08:00
parent af290bd743
commit e4231aeb10
30 changed files with 313 additions and 267 deletions

View File

@@ -290,8 +290,7 @@ QUnit.test('Test getPathDFromElement', function (assert) {
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.
* @type {module:utilities.getBBoxOfElementAsPath}
*/
function getBBoxOfElementAsPath (elem, addSVGElementFromJson, pathActions) {
const bbox = utilities.getBBoxOfElementAsPath(elem, addSVGElementFromJson, pathActions);