From 383d52e15705cb059612c965ec95a0fe4d3f6087 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 15 Nov 2010 09:24:02 +0000 Subject: [PATCH] Fix error introduced in r1852, accidentally moved uiStrings into sanitize.js git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1872 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/sanitize.js | 11 ----------- editor/svgcanvas.js | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/editor/sanitize.js b/editor/sanitize.js index 2da9c688..0a14bb9f 100644 --- a/editor/sanitize.js +++ b/editor/sanitize.js @@ -112,17 +112,6 @@ var svgWhiteList_ = { "munderover": [], "none": [], "semantics": [] - }, - - // Interface strings, usually for title elements - uiStrings = { - "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type", - "pathCtrlPtTooltip": "Drag control point to adjust curve properties", - "exportNoBlur": "Blurred elements will appear as un-blurred", - "exportNoImage": "Image elements will not appear", - "exportNoforeignObject": "foreignObject elements will not appear", - "exportNoDashArray": "Strokes will appear filled", - "exportNoText": "Text may not appear as expected" }; // Produce a Namespace-aware version of svgWhitelist diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index b79566a2..31dbe4e8 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -255,6 +255,17 @@ svgedit.utilities.snapToGrid = function(value){ }; var snapToGrid = svgedit.utilities.snapToGrid; +// Interface strings, usually for title elements +var uiStrings = { + "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type", + "pathCtrlPtTooltip": "Drag control point to adjust curve properties", + "exportNoBlur": "Blurred elements will appear as un-blurred", + "exportNoImage": "Image elements will not appear", + "exportNoforeignObject": "foreignObject elements will not appear", + "exportNoDashArray": "Strokes will appear filled", + "exportNoText": "Text may not appear as expected" +}; + var visElems = 'a,circle,ellipse,foreignObject,g,image,line,path,polygon,polyline,rect,svg,text,tspan,use'; var ref_attrs = ["clip-path", "fill", "filter", "marker-end", "marker-mid", "marker-start", "mask", "stroke"];