-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When running the example raphael.generate() in any other way, I get the following exception:
/tmp/node-raphael/node_modules/jsdom/lib/jsdom/level1/core.js:553
Array.prototype.splice.call(this._childNodes, refChildIndex, 0, newChild);
^
TypeError: Cannot set property length of [object Object] which has only a getter
at core.Node.insertBefore (/tmp/node-raphael/node_modules/jsdom/lib/jsdom/level1/core.js:553:30)
at null.<anonymous> (/tmp/node-raphael/node_modules/jsdom/lib/jsdom/level2/events.js:332:20)
at proto.(anonymous function) [as insertBefore] (/tmp/node-raphael/node_modules/jsdom/lib/jsdom/utils.js:23:26)
at core.Node.appendChild (/tmp/node-raphael/node_modules/jsdom/lib/jsdom/level1/core.js:671:17)
at Function.R._engine.create (/tmp/node-raphael/node_modules/raphael/raphael.js:7093:27)
at R (/tmp/node-raphael/node_modules/raphael/raphael.js:464:47)
at Object.generate (/tmp/node-raphael/index.js:13:42)
at Server.<anonymous> (/tmp/node-raphael/example/server.js:7:23)
at emitTwo (events.js:87:13)
at Server.emit (events.js:172:7)
yuriifedorchuk
Metadata
Metadata
Assignees
Labels
No labels