diff --git a/stitchcode/turtleShepherd.js b/stitchcode/turtleShepherd.js index adbd0dbb..82db6171 100644 --- a/stitchcode/turtleShepherd.js +++ b/stitchcode/turtleShepherd.js @@ -279,10 +279,10 @@ TurtleShepherd.prototype.toSVG2 = function() { if (this.cache[i].cmd == "move") { stitch = this.cache[i]; if (stitch.penDown || this.showJumpStitches) - svgStr += '\n'; diff --git a/stitchcode/turtlestitch.js b/stitchcode/turtlestitch.js new file mode 100644 index 00000000..6fa8bd9e --- /dev/null +++ b/stitchcode/turtlestitch.js @@ -0,0 +1,3 @@ + +turtleShepherd = new TurtleShepherd(); +DEBUG = false;