Snugug/respond-to — pull request #9 by ChinggizKhan (2012-11-15 00:21:56+00:00)
Title: Default no-query within $breakpoints

Heyyyyy Sam!

@rupl has been working on a bunch of no-query work, and realized that it would be awesome if respond-to's $breakpoints variable had the ability to have a default no-query option for breakpoint...

thus... this....

Effectually, it just checks each part of the query before it is added to the $mq variable. If it is a string and starts with "." or "#", then instead of being joined in, it will be set to the $nq variable (no-query). The $no-query variable that was already there still remains, and will override the default if necessary.

Special note: you must install the gem, and require it to test. This is because of the string function we perform.