omniscientjs / immstruct

Immutable data structures with history for top-to-bottom properties in component based libraries like React. Based on Immutable.js
374 stars 21 forks source link

Use browser variants of requestAnimationFrame #92

Open turbotobias opened 6 years ago

turbotobias commented 6 years ago

I assume that IE<= 11 doesn't recognize window.requestAnimationFrame in some cases. My program haults at _requestAnimationFrame() and says that the Object is undefined. This change adds support for all browsers and fixes that bug.