From 090307fc79a0e4ab7048def8a583a313d47de914 Mon Sep 17 00:00:00 2001 From: Kostya Kurilov Date: Sat, 8 Sep 2018 13:19:30 +0300 Subject: [PATCH] fix TheGraph undefined error when using SVG images --- the-graph/factories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the-graph/factories.js b/the-graph/factories.js index fd6f5e6e..6d286d79 100644 --- a/the-graph/factories.js +++ b/the-graph/factories.js @@ -34,7 +34,7 @@ exports.createPolygon = function(options) { }; exports.createImg = function(options) { - return TheGraph.SVGImage(options); + return SVGImage(options); }; exports.createCanvas = function(options) {