Created
July 12, 2012 20:50
-
-
Save dorba/3100899 to your computer and use it in GitHub Desktop.
jQuery Double Bagging Syntax
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
// meh | |
foo(val); | |
// good | |
foo($(val)); | |
// best! | |
foo($($(val))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment