Last active
January 24, 2017 21:54
-
-
Save Snugug/c43102d65b704d57d482 to your computer and use it in GitHub Desktop.
Feature Detection!
This file contains 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
(function () { | |
'use strict'; | |
var detect = function detect(property, value) { | |
if (window.CSS && window.CSS.supports) { | |
return window.CSS.supports(property, value); | |
} | |
else { | |
return false; | |
} | |
}; | |
window.detect = detect; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment