Skip to content

Commit

Permalink
Issue #1477: Add matchMedia to the browser list of globals
Browse files Browse the repository at this point in the history
  • Loading branch information
valueof committed Jan 21, 2014
1 parent af84590 commit c105d66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vars.js
Expand Up @@ -130,6 +130,7 @@ exports.browser = {
length : false,
localStorage : false,
location : false,
matchMedia : false,
MessageChannel : false,
MessageEvent : false,
MessagePort : false,
Expand Down
1 change: 1 addition & 0 deletions tests/unit/envs.js
Expand Up @@ -323,6 +323,7 @@ exports.browser = function (test) {
"length",
"localStorage",
"location",
"matchMedia",
"MessageChannel",
"MessageEvent",
"MessagePort",
Expand Down

0 comments on commit c105d66

Please sign in to comment.