COMIC.magic not working in Chrome > 48.x
Hi Just testing the framework and it seems not ready to work.
Just doing a simple example from your info:
COMIC.magic([ document.getElementById('ShowImagesInDB1'), document.getElementById('ShowImagesInDB2') ]);
and get this: comic.js:639 Uncaught error: no drawing element given
How to use this function? Also is there a callback?
First of all sorry for the late reply, I was very busy with other work. I can confirm the issue: one Chrome > 50.x the pathSegList API which was part of SVG 1 specification has gone missing. Imho a very sad decision, you can read the story here:
Remove the SVG pathSegList interface
At the moment the best advice I can give is do not use Chrome. I will try to implement a workaround but I cannot promise when. And one tiny note: please do not forget this is a beta version, it is definitely not ready.
I have now updated the code to support a polyfill that makes comic.js work in all chrome versions. Please see the README.md. I will leave this issue open for some time for others to read.