- Optimization: Re-rerun image optimization per update

- Linting (ESLint): Adjust per now applied rules
- Testing: Accessibility test API update
- Docs: Clarify need for Node.js/npm being installed
- npm: Update devDeps and core-js-bundle copy; add new axe testing peer dep. axe-core
This commit is contained in:
Brett Zamir
2019-06-27 12:21:55 +08:00
parent c39d86cb58
commit efcde397ac
22 changed files with 375 additions and 254 deletions

View File

@@ -4841,14 +4841,17 @@ editor.init = function () {
// set icon size
setIconSize($('#iconsize').val());
/* eslint-disable require-atomic-updates */
// set grid setting
curConfig.gridSnapping = $('#grid_snapping_on')[0].checked;
curConfig.snappingStep = $('#grid_snapping_step').val();
curConfig.gridColor = $('#grid_color').val();
curConfig.showRulers = $('#show_rulers')[0].checked;
/* eslint-enable require-atomic-updates */
$('#rulers').toggle(curConfig.showRulers);
if (curConfig.showRulers) { updateRulers(); }
// eslint-disable-next-line require-atomic-updates
curConfig.baseUnit = $('#base_unit').val();
svgCanvas.setConfig(curConfig);
@@ -5682,7 +5685,8 @@ editor.init = function () {
'5/Shift+5': '#tools_ellipse_show'
};
return { /** @lends module:SVGEditor~Actions */
return {
/** @lends module:SVGEditor~Actions */
/**
* @returns {void}
*/
@@ -6263,6 +6267,7 @@ editor.init = function () {
importLocale: getImportLocale({defaultLang: lang, defaultName: ext.name})
});
}));
// eslint-disable-next-line require-atomic-updates
extsPreLang.length = 0;
} else {
loadedExtensionNames.forEach((loadedExtensionName) => {