From a0914b8a01f228b00ee7e3239fe01f3edce95630 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Tue, 21 Sep 2010 12:48:44 +0000 Subject: [PATCH] Removed some log calls and changed image lib open option name git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1737 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/extensions/ext-imagelib.js | 2 +- editor/extensions/ext-shapes.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/editor/extensions/ext-imagelib.js b/editor/extensions/ext-imagelib.js index a238a00b..642f0071 100644 --- a/editor/extensions/ext-imagelib.js +++ b/editor/extensions/ext-imagelib.js @@ -293,7 +293,7 @@ svgEditor.addExtension("imagelib", function() { 'margin-right': 5 }); - var type = $('').appendTo(leftBlock).change(function() { + var type = $('').appendTo(leftBlock).change(function() { mode = $(this).val(); switch (mode) { case 's': diff --git a/editor/extensions/ext-shapes.js b/editor/extensions/ext-shapes.js index 7558306e..fa18f3fa 100644 --- a/editor/extensions/ext-shapes.js +++ b/editor/extensions/ext-shapes.js @@ -90,7 +90,6 @@ svgEditor.addExtension("shapes", function() { if(!lib) { $('#shape_buttons').html('Loading...'); - console.log('extensions/shapelib/' + cat_id + '.json'); $.getJSON('extensions/shapelib/' + cat_id + '.json', function(result, textStatus) { cur_lib = library[cat_id] = { data: result.data, @@ -114,7 +113,6 @@ svgEditor.addExtension("shapes", function() { var off = size * .05; var vb = [-off, -off, size + off*2, size + off*2].join(' '); var stroke = fill ? 0: (size/30); - console.log(vb); var shape_icon = new DOMParser().parseFromString( '<\/svg><\/svg>',