node-raphael
node-raphael copied to clipboard
jsdom has no getNumberOfChars function on textNodes
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]);
};
[fixed] https://github.com/dodo/node-raphael/commit/f4b2a4ffa4f2b269003cca8d5d35f89943bbf55b