Created
May 5, 2010 15:22
-
-
Save fearphage/390915 to your computer and use it in GitHub Desktop.
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
| // detect support for css3 border radius | |
| var BORDER_RADIUS_SUPPORT = (function(document) { | |
| var docEl = document.documentElement, s = docEl && docEl.style; | |
| return (s | |
| ? typeof s.borderRadius == 'string' | |
| || typeof s.KhtmlBorderRadius == 'string' | |
| || typeof s.MozBorderRadius == 'string' | |
| || typeof s.WebkitBorderRadius == 'string' | |
| : null | |
| ); | |
| })(this.document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment