Utils.Polyfill Class
This module only contains polyfills; it's not a class.
It's a way to use some polyfills if some features are not available for all browser. Actually, it contain only one polyfill:
Function.bind
Mozilla implementation of the bind function. See the documentation on the MDN.
Usage example:
define(['TW/Utils/Polyfills'], function() {
//Now i'm sure that bind()
exist.
setTimeout(myFunc.bind(), 100);
});
Note: the module don't return anything.