cobbdb / harmony

Simplify your DFP business logic.
MIT License
25 stars 5 forks source link

Update breakpoint-watcher to use RAF instead of setTimeout #57

Closed cobbdb closed 8 years ago

cobbdb commented 8 years ago

RAF avoids potential jank frames and is considered the modern approach. Would be nice to measure possible performance improvements.. maybe with a JS benchmarker like what DragonJS uses?

cobbdb commented 8 years ago

Removed Screen module, replaced with window.innerWidth. Support IE9+.