Clamp.js icon indicating copy to clipboard operation
Clamp.js copied to clipboard

Don't leak private getComputedStyle() to global window object

Open cburgmer opened this issue 11 years ago • 0 comments

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.

cburgmer avatar Oct 09 '14 12:10 cburgmer