Created
March 3, 2015 20:07
-
-
Save benfoxall/92a3a0ed3df45d4f6cca to your computer and use it in GitHub Desktop.
jQuery in the real world
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
// listen to this music | |
$('button').click(playMusic) | |
// see how awesome my cat is | |
$('img.cat').fullScreen() | |
// share some art | |
$('canvas').on('touchmove', draw) | |
// I'll bring you food | |
$.post('/burrito-order') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment