Created
March 24, 2011 21:07
-
-
Save adrianrodriguez/885891 to your computer and use it in GitHub Desktop.
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
//Yannick's lack of interest in the Captain America movie just got him slapped, epic style: | |
$(function(){ | |
$('#adrian').slap(function(){ // initiate slap | |
$("#yannick").face(10000); // slow motion slap | |
return true; // loop that sucka << this may be wrong, but the animation don't gotta stop.... | |
}); | |
}); |
Or a little python
while (True):
adrian.slap(yannick)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ChrisMBarr haha good one. Perhaps you should have made adrian into #adrian.
@JoshChris shouldn't you have created a PHP class called Person and then define a 'slap' method/function for that class? Then create an instance of the Person class and assign it to $adrian and call the slap method on that object? :P