1// Foundation helper media query functions 2 3isSmall = function () { 4 return matchMedia(Foundation.media_queries['small']).matches && !matchMedia(Foundation.media_queries.medium).matches; 5}; 6 7isMedium = function () { 8 return matchMedia(Foundation.media_queries['medium']).matches && !matchMedia(Foundation.media_queries.large).matches; 9}; 10 11isLarge = function () { 12 return matchMedia(Foundation.media_queries['large']).matches; 13}; 14 15isXLarge = function () { 16 return matchMedia(Foundation.media_queries['xlarge']).matches; 17}; 18 19// *Usage* 20// if (isLarge()) { 21// alert("Test"); 22// }
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.