danwrong/loadrunner — pull request #25 by kennethkufluk (2012-07-24 22:59:53+00:00)
Title: Switch context of module execution from window to the module definition.

This should fix the AMD references.

Module code will now execute with 'this' as the module definition, instead of 'window'.

This caused trouble with our previous codebase, where we used external libraries expecting this to be window, but should be a problem in newer codebases.