mozilla / newnewtab

New Tab page: content server and recommendation service
https://wiki.mozilla.org/Apps/newnewtab
6 stars 5 forks source link

Switch to built in jetpack window watcher to remove unload+/watchWindows #41

Closed Mardak closed 12 years ago

Mardak commented 12 years ago

Jetpack has an api to watch for new windows being opened and closed, so we can use that instead of the custom watchWindows file. And when removing that, there'll be no other uses of unload either so that can be removed.