pluma/moduleify — pull request #1 by sfrdmn (2013-08-04 05:14:12+00:00)
Title: Some wrapped code requires window context to work

The current code doesn't account for when a script defines globals via its `this` context e.g. `this.angular = 'cool'` which would normally result in `window.angular == 'cool' //true`

Since browserify modifies the context in which the code runs, nothing set on `this` would actually be set on the window object and thus `angular` in the global scope would be undefined