Updated plugins

This commit is contained in:
amix committed 2015-01-18 12:58:28 +00:00
1 parent c3ba0f3c06
commit e7a01094b6
274 files changed
+4547 -3075

No files matched your search

@@ -52,27 +52,18 @@ function ${1:function_name}(${2:argument}) {
}
endsnippet
snippet vf "Function assigned to var"
${1:var }${2:function_name} = function $2(${3}) {
${VISUAL}$0
};
endsnippet
snippet iife "Immediately-Invoked Function Expression (iife)"
(function (${1:argument}) {
${VISUAL}$0
}(${2:$1}));
endsnippet
snippet ife "if ___ else"
if (${1:condition}) {
${2://code}
}
else {
${3://code}
}
endsnippet
snippet if "if"
if (${1:condition}) {
${VISUAL}$0
}
endsnippet
snippet timeout "setTimeout function"
setTimeout(function() {
${VISUAL}$0