Clamp.js
Clamp.js copied to clipboard
Don't leak private getComputedStyle() to global window object
Currently Clamp.js leaks the private fallback implementation of getComputedStyle() to the global window object. This does not play nice with other code, that does not expect the function to exist in IE8 and other old browsers. There should be no need to expose the inner function. This fix keeps the implementation private.