Skip to content

Commit

Permalink
(fix): slightly modify ammo so it won't try to require stuff
Browse files Browse the repository at this point in the history
- this is what I was having trouble with when I first created this repo
  - c.f. kripken/ammo.js#109 (comment) ,
    webpack/webpack#7352 ,
    and emscripten-core/emscripten#6542
- can't just upgrade to a new ammo as that might very well break
  physijs, so just make the Node environment check false
  - in this case I changed `var qa="object"===typeof process,` to
    `var qa=false,` in the minified code
    - could also remove the `if(qa){`... parts now, though that'll
      probably get re-minified too and nbd
  • Loading branch information
agilgur5 committed Sep 16, 2018
1 parent 97ef935 commit 7ef1228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/ammo.js

Large diffs are not rendered by default.

0 comments on commit 7ef1228

Please sign in to comment.