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 ignore
node_modules node_modules
src/editor/react-extensions/react-test/node_modules
docs/jsdoc docs/jsdoc
cypress/results cypress/results
cypress/screenshots cypress/screenshots

View File

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

View File

@ -12,7 +12,8 @@ module.exports = {
'dist', 'dist',
'external', 'external',
'screencasts', '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' 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} maxx - selected area max-x
* @param {Float} miny - selected area min-y * @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-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 * @private
*/ */
const _getDistributeHorizontalDistances = (relativeTo, selectedElements, bboxes, minx, maxx, miny, maxy) => { 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} maxx - selected area max-x
* @param {Float} miny - selected area min-y * @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-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 * @private
*/ */
const _getDistributeVerticalDistances = (relativeTo, selectedElements, bboxes, minx, maxx, miny, maxy) => { 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} maxx - selected area max-x
* @param {Float} miny - selected area min-y * @param {Float} miny - selected area min-y
* @param {Float} maxy - selected area max-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 * @private
*/ */
const _getNormalDistances = (type, selectedElements, bboxes, minx, maxx, miny, maxy) => { const _getNormalDistances = (type, selectedElements, bboxes, minx, maxx, miny, maxy) => {