1
0
Fork 0
mirror of synced 2024-12-27 00:53: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}