1
0
Fork 0
mirror of synced 2024-12-27 00:53:20 -05:00
ultimate-vim/bundle/snipmate-snippets/javascript-jquery/tog.snippet
2014-05-09 21:28:39 +02:00

6 lines
179 B
Text

${1:obj}.toggle(function() {
${2:// Stuff to do every *odd* time the element is clicked;}
}, function() {
${3:// Stuff to do every *even* time the element is clicked;}
});
${4}