Commit 0009d6df authored by amandaghassaei's avatar amandaghassaei

small fix

parent aceba356
......@@ -180,6 +180,10 @@ function initPattern(globals){
for (var i=0;i<$elements.length;i++){
var path = $elements[i];
var pathVertices = [];
if (path === undefined || path.getPathData === undefined){//mobile problem
console.warn("path parser not supported");
var segments = path.getPathData();
for (var j=0;j<segments.length;j++){
var segment = segments[j];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment