From 7c40486c393d5c3e59d5205274a69e0b34d2196b Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 29 Jan 2010 14:11:04 +0000 Subject: [PATCH] Fix Issue 450: restore Created-By comment git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1299 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 6 ------ editor/svgcanvas.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index e54f237f..21dd66a5 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -1673,12 +1673,6 @@ function svg_edit_setup() { var paint = (picker == 'stroke' ? strokePaint : fillPaint); var title = (picker == 'stroke' ? 'Pick a Stroke Paint and Opacity' : 'Pick a Fill Paint and Opacity'); var was_none = false; -// if (paint.type == "none") { -// // if it was none, then set to solid white -// paint = new $.jGraduate.Paint({solidColor: 'ffffff'}); -// was_none = true; -// } - console.dir(paint); var pos = elem.position(); $("#color_picker") .draggable({cancel:'.jPicker_table,.jGraduate_lgPick'}) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 210d23b7..741c816d 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -911,7 +911,7 @@ function BatchCommand(text) { // svgthumb.setAttributeNS(xlinkns, 'href', '#svgcontent'); // svgroot.appendChild(svgthumb); - }); + })(); // z-ordered array of tuples containing layer names and elements // the first layer is the one at the bottom of the rendering var all_layers = [],