Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #1477: Add matchMedia to the browser list of globals

  • Loading branch information...
commit c105d66e2ce6a9adf628f1ca9cf6d5d0b47afe86 1 parent af84590
@valueof valueof authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  src/vars.js
  2. +1 −0  tests/unit/envs.js
View
1  src/vars.js
@@ -130,6 +130,7 @@ exports.browser = {
length : false,
localStorage : false,
location : false,
+ matchMedia : false,
MessageChannel : false,
MessageEvent : false,
MessagePort : false,
View
1  tests/unit/envs.js
@@ -323,6 +323,7 @@ exports.browser = function (test) {
"length",
"localStorage",
"location",
+ "matchMedia",
"MessageChannel",
"MessageEvent",
"MessagePort",
Please sign in to comment.
Something went wrong with that request. Please try again.