1
0
Fork 0
mirror of synced 2024-12-24 07:43:20 -05:00
ultimate-vim/sources_non_forked/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}