Closed SirPL closed 8 years ago
Yes, my apologies, yesterday I pushed a change that revised the drawing code...in the process createDrawable was renamed to createSvg. If you change that in your code you should be working again. I always regret making changes that break the API, but since this is 0.0 version software, it's just part of the dev process!
If this fixes your problem I'll let you close the issue, otherwise let me know if you're still having problems.
Well. The dev version is now working, but minified is not. It produces following error:
Exsurge.Chant.js:506
Uncaught TypeError: Cannot read property 'needsLayout' of undefined
OK, I've disabled name mangling in UglifyJS so that the minified versions work for now. Without mangling the size of the lib is a little larger...eventually a better solution would be to determine why name mangling stopped working and only disable mangling for those classes/functions/objects that need the right names (e.g., anything created dynamically in the Gabc code probably needs mangling disabled).
I don't know what had happend, but https://ex.surge.sh/exsurge.js stopped working. It produces following error:
My code:
Any idea what's wrong?