Modernizr/Modernizr — pull request #1034 by swaydeng (2013-09-04 13:54:20+00:00)
Title: Code refactoring, made the function definition related to UA env

Code refactoring, made the function definition related to UA environment, `matchMedia` check only happened once. And some other slight modification for code execution efficiency.