cjohansen/Sinon.JS — pull request #628 by GCheung55 (2014-12-16 18:18:27+00:00)
Title: Wrap IE specific files to properly set methods on window or global

Unwrapped code can cause issues with `this` if the code is appended to other code that has 'use strict' defined outside of a function scope.

To prevent any issues in reference to `this`, wrap the IE code in a self-executing function and make any changes to a reference to `window` or `global`.