node-raphael icon indicating copy to clipboard operation
node-raphael copied to clipboard

jsdom has no getNumberOfChars function on textNodes

Open dodo opened this issue 15 years ago • 2 comments

this error occures when using text

var raphael_example_pie = function (r) {
    r.g.txtattr.font = "12px 'Fontin Sans', Fontin-Sans, sans-serif";
    r.g.text(320, 70, "Static Pie Chart").attr({"font-size": 20});
    r.g.piechart(320, 240, 150, [55, 20, 13, 32, 5, 1, 2, 10]);
};

dodo avatar Dec 06 '10 02:12 dodo

[fixed] https://github.com/dodo/node-raphael/commit/f4b2a4ffa4f2b269003cca8d5d35f89943bbf55b

dodo avatar Dec 07 '10 12:12 dodo

this is no longer part of the current version.

the discussion continues in jsdom issue 217.

dodo avatar May 25 '11 12:05 dodo