fix to doc and config

master
JFH 2022-06-25 23:07:06 +02:00
parent f02c3d4cfc
commit 275269eadf
4 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
ignore
node_modules
src/editor/react-extensions/react-test/node_modules
docs/jsdoc
cypress/results
cypress/screenshots

View File

@ -3,3 +3,4 @@ coverage/**
.nyc_output
instrumented/**
node_modules/**
src/editor/react-extensions/react-test/node_modules/**

View File

@ -12,7 +12,8 @@ module.exports = {
'dist',
'external',
'screencasts',
'test'
'test',
'src/editor/react-extensions/react-test/node_modules'
],
excludePattern: 'svgedit-config-*|build-html.js|rollup*|external/babel-polyfill|extensions/mathjax|imagelib/jquery.min.js|jspdf/jspdf.min.js|jspdf/underscore-min.js|jquery-ui|jquery.min.js|js-hotkeys'
},

View File

@ -409,7 +409,7 @@ const alignSelectedElements = (type, relativeTo) => {
* @param {Float} maxx - selected area max-x
* @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-y
* @returns {[Float[],Float[]]} x and y distances array
* @returns {Array.Float[]} x and y distances array
* @private
*/
const _getDistributeHorizontalDistances = (relativeTo, selectedElements, bboxes, minx, maxx, miny, maxy) => {
@ -470,7 +470,7 @@ const _getDistributeHorizontalDistances = (relativeTo, selectedElements, bboxes,
* @param {Float} maxx - selected area max-x
* @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-y
* @returns {[Float[],Float[]]} x and y distances array
* @returns {Array.Float[]}} x and y distances array
* @private
*/
const _getDistributeVerticalDistances = (relativeTo, selectedElements, bboxes, minx, maxx, miny, maxy) => {
@ -531,7 +531,7 @@ const _getDistributeVerticalDistances = (relativeTo, selectedElements, bboxes, m
* @param {Float} maxx - selected area max-x
* @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-y
* @returns {[Float[],Float[]]} x and y distances array
* @returns {Array.Float[]} x and y distances array
* @private
*/
const _getNormalDistances = (type, selectedElements, bboxes, minx, maxx, miny, maxy) => {