ES5-DOM-SHIM
ES5-DOM-SHIM copied to clipboard
Lightweight ES5 and DOM shim with IE6 and IE7 support
``` js [].find(function () {}) → undefined ``` сейчас возвращает -1
`defineProperty` при попытке добавить свойство `remove` для `HTMLSelectElement.prototype` выбрасывает исключение: «can not redefine property». Тестировал на следующих устройствах устройствах: Samsung Galaxy Ace GT-5830 (Android 2.3.3) и HTC Wildfire (Android 2.3.5).
If you include a.js and run this code: var myNumber = 42, myString = "42", myArray = [41, 42, 43], myBoolean = true, myDate = new Date(); console.log(typeof myNumber); console.log(typeof...
Hi, I always get an error in IE8 in shivedCreateElement function (https://github.com/termi/ES5-DOM-SHIM/blob/0.7/__SRC/a.ie8.js, l:2115) saying that this["**orig__createElement**"] is null. I changed this["**orig__createElement**"] to document["**orig__createElement**"] and now it works for me.
MDSN: [getAttribute method](http://msdn.microsoft.com/en-us/library/ms536429%28v=vs.85%29.aspx) [setAttribute method](http://msdn.microsoft.com/en-us/library/ms536739%28v=vs.85%29.aspx) [removeAttribute method](http://msdn.microsoft.com/en-us/library/ms536696%28v=vs.85%29.aspx) For resolve problems with properties and attributes in IE < 8, we can use second parameter in [get/remove]Attribute and third parameter in setAttribute....
https://bugzilla.mozilla.org/show_bug.cgi?id=428229 "node.addEventListener("event", function)" throw Error in FF 3.6 shim doesn't work