Created
July 4, 2011 03:09
-
-
Save hechien/1062855 to your computer and use it in GitHub Desktop.
jQuery in JavaScript example.
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(){ | |
console.log("I'm running."); | |
})(jQuery); |
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
// Executing block in Objective-C | |
^{ | |
NSLog(@"I'm still running ... "); | |
}(); // 注意這邊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment