dwmkerr/starfield — pull request #4 by angel-manuel (2013-11-23 15:28:57+00:00)
Title: Changing window.onresize to window.addEventListener('resize', function)

Its recommended to use addEventListener.
I've also added a name to the anonymous function to make stack traces readable.