WickyNilliams / enquire.js

Awesome Media Queries in JavaScript
http://wicky.nillia.ms/enquire.js/
MIT License
3.62k stars 269 forks source link

Added namespace support, unregisterNamespace function and a demo file #131

Closed janrembold closed 7 years ago

janrembold commented 9 years ago

Added an optional namespace property to the query handler and an unregisterNamespace function to the dispatcher.

Unregistering works by full search string or wildcard search like ".local" or "test.". A single "*" unregisters all queries. Unregistering can be done on "all" (default) or a "specified query".

A demo file is included.

lhwparis commented 9 years ago

+1 can you pls merge in this PR?

WickyNilliams commented 7 years ago

I don't see the value in this change, so I'm closing. Excuse the delay, thanks anyway