dotfiles

ref: 5d5acf8eef54ddeb0c6cb4c8575d695e6f6c2ebc

vim/snippets/javascript.snippets


snippet shebang
	#!/usr/bin/env node
snippet jq
	(function($) {
		${1://code}
	})(jQuery);
snippet (f
	(function(${1}) {
		${3:/* code */}
	}(${2}));
snippet cl
	console.log(${1});
snippet caller
	arguments.callee.caller.toString()${1}
snippet fn
	var ${1} = function(${2}) {
		${3}
	};