synapsestudios / synapse-common

DEPRECATED
MIT License
1 stars 2 forks source link

Update Match Media Store for SSR and Legacy Browsers #43

Closed areida closed 9 years ago

areida commented 9 years ago

Match Media store can be included in the server bundle

Acceptance Criteria

  1. MatchMedia accepts a defaultQuery parameter
  2. Match Media checks to see if window and window.matchMedia are defined
  3. If either are undefined then a stub object is created for the query
    • If the stub object alias matches the default query then it is set as a match
  4. MatchMedia has a getMatches function that returns the media query matches
areida commented 9 years ago

:m:

areida commented 9 years ago

:star:

zpchavez commented 9 years ago

Documentation seems incomplete. I suppose this isn't testable? :interrobang:

areida commented 9 years ago

:star:

zpchavez commented 9 years ago

:+1: