- Linting: ESLint (or ignore) JavaScript files; unfinished: editor/jgraduate and editor/extensions folders, editor/ (root), test/ (root) HTML

- Fix: An apparent bug in jquery.svgicons.js whereby a variable `holder` was declared in too nested of a scope
- Fix: `addBezierCurve` in canvg.js had undeclared `i`
- Fix: Undeclared variable in opera widget
- Fix: Screencast `showNotes`
This commit is contained in:
Brett Zamir
2018-05-13 18:47:00 +08:00
parent 820964334c
commit 5894398c36
16 changed files with 6846 additions and 6996 deletions

View File

@@ -1,4 +1,5 @@
function start_svg_edit() {
var url = "chrome://svg-edit/content/editor/svg-editor.html";
window.openDialog(url, "SVG Editor", "width=1024,height=700,menubar=no,toolbar=no");
/* eslint-disable no-var */
function startSvgEdit () { // eslint-disable-line no-unused-vars
var url = 'chrome://svg-edit/content/editor/svg-editor.html';
window.openDialog(url, 'SVG Editor', 'width=1024,height=700,menubar=no,toolbar=no');
}

View File

@@ -11,14 +11,14 @@
<menupopup id="menu_ToolsPopup">
<menuitem insertafter="devToolsSeparator" label="SVG Editor"
oncommand="start_svg_edit();" />
oncommand="startSvgEdit();" />
</menupopup>
<!-- Firefox -->
<statusbar id="status-bar">
<statusbarpanel id="svg-edit-statusbar-button"
<statusbarpanel id="svg-edit-statusbar-button"
class="statusbarpanel-menu-iconic"
onclick="return start_svg_edit()"
onclick="return startSvgEdit()"
tooltip="SvgEdit">
</statusbarpanel>
</statusbar>