Skip to content

Commit 511b1f4

Browse files
committed
Add objectfit and localstorage to browser features
1 parent 2236972 commit 511b1f4

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.modernizr.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"feature-detects": [
88
"test/css/displaytable",
99
"test/css/flexbox",
10-
"test/es5/specification"
10+
"test/es5/specification",
11+
"test/css/objectfit",
12+
"test/storage/localstorage"
1113
]
1214
}

‎src/vector/index.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ function checkBrowserFeatures(featureList) {
5151
}
5252

5353
var validBrowser = checkBrowserFeatures([
54-
"displaytable", "flexbox", "es5object", "es5function"
54+
"displaytable", "flexbox", "es5object", "es5function", "localstorage",
55+
"objectfit"
5556
]);
5657

5758
// We want to support some name / value pairs in the fragment

‎src/vector/modernizr.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)