提交 48207a19 编写于 作者: T tfennelly

Removed prototypejs extended create syntax support check (always returning false)

上级 b5b76bab
......@@ -1923,13 +1923,7 @@ if (!Node.ELEMENT_NODE) {
}
var HAS_EXTENDED_CREATE_ELEMENT_SYNTAX = (function(){
try {
var el = document.createElement('<input name="x">');
return el.tagName.toLowerCase() === 'input' && el.name === 'x';
}
catch(err) {
return false;
}
return false;
})();
var element = global.Element;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册