mozilla

codeboy

Interests

Member since

Recent Docs Activity

View all activity
Page Date Comment

resize


removed the condition in init constraining the event listener won't be added unless the rAF was available.

resize


resize


resize


resize


1. Since the resize event will be triggered at certain rates, the 'loop' function wasn't necessary. 2. The actual callbacks would be running as soon as the resize was fired, insteadly in the rAF.