logentries/le_js — pull request #25 by evanrs (2014-08-25 15:35:49+00:00)
Title: Patch for window reference in Browserify

In Browserify the calling context of the module is an empty object. The reference to `window` is passed in as `global`. Since `global` and `this` are equivalent in Node it seems fine to use `global` when available.
- adds `global` to externs
- assigns `global` to `root` when present