Removed redundant function name.

master
KB Jørgensen 2016-11-14 10:06:05 +01:00
parent 0bf50b0b42
commit 4994deb6ec
1 changed files with 1 additions and 1 deletions

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);