mirror of https://github.com/vector-im/riot-web
Add objectfit and localstorage to browser features
parent
22369729f9
commit
511b1f409c
|
@ -7,6 +7,8 @@
|
||||||
"feature-detects": [
|
"feature-detects": [
|
||||||
"test/css/displaytable",
|
"test/css/displaytable",
|
||||||
"test/css/flexbox",
|
"test/css/flexbox",
|
||||||
"test/es5/specification"
|
"test/es5/specification",
|
||||||
|
"test/css/objectfit",
|
||||||
|
"test/storage/localstorage"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -51,7 +51,8 @@ function checkBrowserFeatures(featureList) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var validBrowser = checkBrowserFeatures([
|
var validBrowser = checkBrowserFeatures([
|
||||||
"displaytable", "flexbox", "es5object", "es5function"
|
"displaytable", "flexbox", "es5object", "es5function", "localstorage",
|
||||||
|
"objectfit"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// We want to support some name / value pairs in the fragment
|
// We want to support some name / value pairs in the fragment
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue