box2d.js icon indicating copy to clipboard operation
box2d.js copied to clipboard

Non-minified source?

Open jasonkester opened this issue 12 years ago • 3 comments

Any chance you could include a non-minified javascript file? Debugging into the minified javascript is not any fun.

jasonkester avatar Feb 05 '13 16:02 jasonkester

it will be great

hyzhak avatar Apr 03 '13 21:04 hyzhak

And finally i overcome LLVM, clang and emscripten, and compile non-minified box2d. Use:

$(EMCC) -s INLINING_LIMIT=0 --js-transform "python bundle.py" $< -o $@

without -O2

and here is the sources: https://raw.github.com/Hyzhak/darlingjs/gh-pages/vendor/box2d-dev.js

As you can see they doesn't look so friendly and readable. Clearly, we need to use source maps for emscripten.

hyzhak avatar Apr 06 '13 09:04 hyzhak

Thank you very much Hyzhak, it's appreciated.

ghost avatar Apr 09 '13 14:04 ghost