This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//EnhanceJS (enhancejs.googlecode.com) | |
//Quick idea for loading CSS depending on Screen resolution with EnhanceJS. | |
//Smart phones that pass capabilities tests would get mobile.css | |
//enhance page based on capabilities and serve different CSS based on screen resolution | |
enhance({ | |
loadStyles: screen.availWidth < 500 ? ['css/mobile.css'] : ['css/screen.css'] | |
}); |
NewerOlder