I’m doing a project that uses svg-edit(JS drawing tool) and the page grows big. By now there are about 20 JS file in a page – plug-ins and so on.
One of the editor’s files breaks in some kind of ‘Uncaught TypeError’ but it’s compressed and can not understand anything.
I used several jquery plug-ins that are important for the usability of the page and it’s not possible to remove any of them. There are severe conflicts obviously but I can’t rewrite any of the plug-ins.
Any smart approach to fix this ? Where I can start ?
The usual approach is to run with uncompressed files in development environment, and with compressed files in production environment.
This way, the development environment lets you find out where the error is, in a clear code. While the production environment benefits from compressing the files.
Of course, it means being able to run a development environment. You can, right?
2