Box2D is hijacking the window resize listener?
<p>Here is my code:</p>

<pre><code>$(window).resize(function() {

    resize();
    console.log('Resized');

});
</code></pre>

<p>This code was working perfectly fine until I implemented Box2D into my project.</p>

<p>Whenever I remove this line...</p>

<pre><code>&lt;script type="text/javascript" src="assets/lib/Box2D.js"&gt;&lt;/script&gt;
</code></pre>

<p>...The resize code works perfectly fine.</p>

<p>Any idea of what's going on? I'm using the <a href="https://github.com/hecht-software/box2dweb" rel="nofollow noreferrer">Box2DWeb</a> implementation btw.</p>