From 75dbd665614b73a334a683455afb35878c396792 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 6 Jul 2015 11:36:24 +0100 Subject: [PATCH] Update path.js --- editor/path.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/editor/path.js b/editor/path.js index d4aacc6e..c6d6c0da 100644 --- a/editor/path.js +++ b/editor/path.js @@ -15,8 +15,7 @@ // 3) math.js // 4) svgutils.js -(function() { - //'use strict'; +(function() {'use strict'; if (!svgedit.path) { svgedit.path = {}; @@ -511,7 +510,6 @@ svgedit.path.Segment.prototype.move = function(dx, dy) { -//HERE svgedit.path.Segment.prototype.setLinked = function(num) { var seg, anum, pt; if (num == 2) { @@ -586,7 +584,7 @@ svgedit.path.Path = function(elem) { svgedit.path.Path.prototype.init = function() { // Hide all grips, etc -//FIX ianb leaves last grip +//fixed, needed to work on all found elements, not just first $(svgedit.path.getGripContainer()).find('*').each( function() { $(this).attr('display', 'none') }); var segList = this.elem.pathSegList;