getsentry/raven-js — pull request #253 by hugomrdias (2014-08-29 15:08:22+00:00)
Title: browserify support

In a browserify package, this will refer to a node-style exports object, not
window. So just reference window directly.