michaelvillar / dynamics.js

Javascript library to create physics-based animations
http://dynamicsjs.com
7.57k stars 414 forks source link

Replaced arguments.callee with function name to support strict mode #24

Closed djfrsn closed 8 years ago

djfrsn commented 8 years ago

Add support for ES5 strict mode!

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments/callee

michaelvillar commented 8 years ago

Fixes https://github.com/michaelvillar/dynamics.js/issues/23

michaelvillar commented 8 years ago

Seems good :+1: Thanks a lot!

djfrsn commented 8 years ago

Sure thing, I'm glad I could help!