Created
May 13, 2014 14:49
-
-
Save julienchazal/4910f3d8a1894a357e6a to your computer and use it in GitHub Desktop.
Modernizr conditionnal script loading for input placeholders
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
Modernizr.load({ | |
test: Modernizr.inputtypes && Modernizr.input.placeholder, | |
nope: 'scripts/polyfills/placeholders.jquery.min.js' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment