Created
March 19, 2014 18:50
-
-
Save nextechu/9648607 to your computer and use it in GitHub Desktop.
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
Modernizr.load([{ | |
test : /* boolean(ish) - Something that you want to test */, | |
yep : /* array (of strings) | string - The things to load if test is true */, | |
nope : /* array (of strings) | string - The things to load if test is false */, | |
both : /* array (of strings) | string - Load everytime (sugar) */, | |
load : /* array (of strings) | string - Load everytime (sugar) */, | |
callback : /* function ( testResult, key ) | object { key : fn } */, | |
complete : /* function */ | |
}, ... ]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment