kripken / box2d.js

Port of Box2D to JavaScript using Emscripten
1.33k stars 196 forks source link

Testbed is broken #61

Open hujiajie opened 10 years ago

hujiajie commented 10 years ago

The latest testbed does not work in my browser. The console says "ReferenceError: JSQueryCallback is not defined".

hightopo commented 9 years ago

Adding Box2D.\ prefix works.

myQueryCallback =  new Box2D.JSQueryCallback();
hujiajie commented 9 years ago

I've figured it out. Thanks for your suggestion.