- l10n: Add Chinese (simplified) extension locales (Thanks, @enlove!)

- Linting (ESLint): Avoid reporting `no-console`
- Refactoring: Avoid Firefox console errors with hidden iframe
- Docs (CHANGES): Fix Markdown heading level
This commit is contained in:
Brett Zamir
2018-11-30 18:27:22 +08:00
parent c6d07fbb7c
commit 17bc78fa3f
21 changed files with 255 additions and 5 deletions

View File

@@ -18,7 +18,9 @@ export default {
const saveSvgAction = '/+modify';
// Create upload target (hidden iframe)
/* const target = */ $('<iframe name="output_frame" src="#"/>').hide().appendTo('body');
// Hiding by size instead of display to avoid FF console errors
// with `getBBox` in browser.js `supportsPathBBox_`)
/* const target = */ $('<iframe name="output_frame" style="width: 0; height: 0;" src="#"/>').appendTo('body');
svgEditor.setCustomHandlers({
async save (win, data) {