Update JavaScript snippets setTimeout to pass jshint style check option

main
Buddy Sandidge 11 years ago
parent 706c514a15
commit 2b4f981189

@ -1,4 +1,4 @@
snippet f "function" snippet f "function" !
function ${1:function_name}(${2:argument}) { function ${1:function_name}(${2:argument}) {
${VISUAL}$0 ${VISUAL}$0
} }
@ -16,3 +16,8 @@ endsnippet
snippet strict "use strict" snippet strict "use strict"
'use strict'; 'use strict';
endsnippet endsnippet
snippet timeout "setTimeout" !
setTimeout(function () {
${1://code}
}, 0);
endsnippet

Loading…
Cancel
Save