bugsense/bugsense.js — pull request #12 by jorgenfb (2014-02-13 14:38:21+00:00)
Title: Expose Bugsense global earlier when using as AMD module to prevent crash...

...ing when trying to extend Bugsense.prototype with bugsense.gae.js code.

Using Bugsense in an AMD environment (like requirejs) was not working due to the missing global variable Bugsense when trying to run: ```extend(Bugsense.prototype, ...``` concatinated from the bugsense.gae.js file. The Bugsense global was assigned first when the function provided to define() was called. Now the global is exposed before registering the AMD module.