dotfiles

ref: 112eae89312e9ce9e55806d609f55efd3bac01f0

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}
	};