Officially drop IE9-10 support, pull out our hacks (#2296)
- I also fixed a bunch of related comments - I had to polyfill `requestAnimationFrame` for Node - Drive-by: run `eslint . --fix` - Drive-by: update transpiling info in CONTRIBUTING.md - Drive-by: we aren't the only ones going semicolon-free
This commit is contained in:
parent
a8473e63c9
commit
4a641092dc
17 changed files with 54 additions and 45 deletions
|
|
@ -473,9 +473,9 @@ module.exports = function(options) {
|
|||
if (!this.hasAttribute("type")) return "text"
|
||||
var type = this.getAttribute("type")
|
||||
return (/^(?:radio|button|checkbox|color|date|datetime|datetime-local|email|file|hidden|month|number|password|range|research|search|submit|tel|text|url|week|image)$/)
|
||||
.test(type)
|
||||
? type
|
||||
: "text"
|
||||
.test(type)
|
||||
? type
|
||||
: "text"
|
||||
},
|
||||
set: typeSetter,
|
||||
enumerable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue