title: how to detect device orientation is supported by modernizr?
body: <p>Can anyone tel me how to check whether device orientation is supported by modernizr (eg:modernizr.geolocation) in html file. I need to check the browser supports that feature device orientation or not. Any help?</p>