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
|
|
@ -37,7 +37,7 @@ o.spec("test-utils/components", function() {
|
|||
if (component.kind !== "constructible") {
|
||||
o(cmp2).deepEquals(methods)
|
||||
} else {
|
||||
// deepEquals doesn't search the prototype, do it manually
|
||||
// deepEquals doesn't search the prototype, do it manually
|
||||
o(cmp2 != null).equals(true)
|
||||
o(cmp2.view).equals(methods.view)
|
||||
o(cmp2.oninit).equals(methods.oninit)
|
||||
|
|
|
|||
|
|
@ -1430,22 +1430,22 @@ o.spec("domMock", function() {
|
|||
o(input.type).equals("text")
|
||||
})
|
||||
"radio|button|checkbox|color|date|datetime|datetime-local|email|file|hidden|month|number|password|range|research|search|submit|tel|text|url|week|image"
|
||||
.split("|").forEach(function(type) {
|
||||
o("can be set to " + type, function(){
|
||||
var input = $document.createElement("input")
|
||||
input.type = type
|
||||
.split("|").forEach(function(type) {
|
||||
o("can be set to " + type, function(){
|
||||
var input = $document.createElement("input")
|
||||
input.type = type
|
||||
|
||||
o(input.getAttribute("type")).equals(type)
|
||||
o(input.type).equals(type)
|
||||
})
|
||||
o("bad values set the attribute, but the getter corrects to 'text', " + type, function(){
|
||||
var input = $document.createElement("input")
|
||||
input.type = "badbad" + type
|
||||
o(input.getAttribute("type")).equals(type)
|
||||
o(input.type).equals(type)
|
||||
})
|
||||
o("bad values set the attribute, but the getter corrects to 'text', " + type, function(){
|
||||
var input = $document.createElement("input")
|
||||
input.type = "badbad" + type
|
||||
|
||||
o(input.getAttribute("type")).equals("badbad" + type)
|
||||
o(input.type).equals("text")
|
||||
o(input.getAttribute("type")).equals("badbad" + type)
|
||||
o(input.type).equals("text")
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
o.spec("textarea[value]", function() {
|
||||
o("reads from child if no value was ever set", function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue