lmgonzalves/segment

segment.js:35 Uncaught TypeError: path.getTotalLength is not a function

saadkkhan opened this issue · 0 comments

Any solution for this please?

Scripts loaded as follows:
jquery-1.12.4.min.js
segment-js/1.0.8/segment.js

    var myPath = document.getElementById("dvr"),
        segment = new Segment(myPath);

    segment.draw("25%", "75% - 10", 1);