kripken / box2d.js

Port of Box2D to JavaScript using Emscripten
1.32k stars 198 forks source link

Testbed is broken #61

Open hujiajie opened 9 years ago

hujiajie commented 9 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.