Browse Source

Add objectfit and localstorage to browser features

kegan/blocking
Kegan Dougal 6 years ago
parent
commit
511b1f409c
  1. 4
      .modernizr.json
  2. 3
      src/vector/index.js
  3. 4
      src/vector/modernizr.js

4
.modernizr.json

@ -7,6 +7,8 @@
"feature-detects": [
"test/css/displaytable",
"test/css/flexbox",
"test/es5/specification"
"test/es5/specification",
"test/css/objectfit",
"test/storage/localstorage"
]
}

3
src/vector/index.js

@ -51,7 +51,8 @@ function checkBrowserFeatures(featureList) {
}
var validBrowser = checkBrowserFeatures([
"displaytable", "flexbox", "es5object", "es5function"
"displaytable", "flexbox", "es5object", "es5function", "localstorage",
"objectfit"
]);
// We want to support some name / value pairs in the fragment

4
src/vector/modernizr.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save