Closed franklyT closed 4 years ago
Indicate that .bind needs to be polyfilled for <IE9 and as a result should probably not be used.
Binding the function like the following would be more advisable:
function $(id) { return typeof id == "string" ? document.getElementById(id) : id; }
Indicate that .bind needs to be polyfilled for <IE9 and as a result should probably not be used.
Binding the function like the following would be more advisable:
function $(id) { return typeof id == "string" ? document.getElementById(id) : id; }