- Remove carriage returns; fixes #37

- Remove extra spaces from svgcanvas, embedapi
This commit is contained in:
Brett Zamir
2018-05-18 15:39:36 +08:00
parent 1f3b8dad52
commit 10291dc556
28 changed files with 4268 additions and 4268 deletions

View File

@@ -45,7 +45,7 @@ function getCallbackSetter (d) {
return function () { return function () {
var t = this, // New callback var t = this, // New callback
args = [].slice.call(arguments), args = [].slice.call(arguments),
cbid = t.send(d, args, function () {}); // The callback (currently it's nothing, but will be set later) cbid = t.send(d, args, function () {}); // The callback (currently it's nothing, but will be set later)
return function (newcallback) { return function (newcallback) {
t.callbacks[cbid] = newcallback; // Set callback t.callbacks[cbid] = newcallback; // Set callback

View File

@@ -4146,7 +4146,7 @@ var uniquifyElems = this.uniquifyElems = function (g) {
// //
// Problem #1: if svg_1 gets renamed, we do not update the polyline's se:connector attribute // Problem #1: if svg_1 gets renamed, we do not update the polyline's se:connector attribute
// Problem #2: if the polyline svg_7 gets renamed, we do not update the marker id nor the polyline's marker-end attribute // Problem #2: if the polyline svg_7 gets renamed, we do not update the marker id nor the polyline's marker-end attribute
var refElems = ['filter', 'linearGradient', 'pattern', 'radialGradient', 'symbol', 'textPath', 'use']; var refElems = ['filter', 'linearGradient', 'pattern', 'radialGradient', 'symbol', 'textPath', 'use'];
svgedit.utilities.walkTree(g, function (n) { svgedit.utilities.walkTree(g, function (n) {
// if it's an element node // if it's an element node