Closed ClemensSchneider closed 10 years ago
Hi, you missed the variable 'breaker' while copying parts of underscore.js. This causes physics to fail in browsers that do not support the native forEach function.
if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;
Thanks for pointing that out! I just added breaker definition: https://github.com/jonobr1/Physics/commit/3695c51cbd3df95e23a647c8976e3fd29bba502a
breaker
Hi, you missed the variable 'breaker' while copying parts of underscore.js. This causes physics to fail in browsers that do not support the native forEach function.
if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;