1
0
Fork 0
mirror of synced 2024-12-25 08:13:20 -05:00
ultimate-vim/bundle/snipmate-snippets/javascript-jquery/tog.snippet

7 lines
179 B
Text
Raw Normal View History

${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}