Removed redundant function name.

This commit is contained in:
KB Jørgensen
2016-11-14 10:06:05 +01:00
parent 0bf50b0b42
commit 4994deb6ec

View File

@@ -189,7 +189,7 @@ var selectedElements = [];
// * children - Optional array with data objects to be added recursively as children
//
// Returns: The new element
var addSvgElementFromJson = this.addSvgElementFromJson = function addSvgElementFromJson(data) {
var addSvgElementFromJson = this.addSvgElementFromJson = function(data) {
if(typeof(data) == 'string') return svgdoc.createTextNode(data);
var shape = svgedit.utilities.getElem(data.attr.id);