aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/javascript/javascript-requirejs.snippets
blob: 8e72ada6c0ed9253414a5db237e6efd21b30a9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
snippet def
	define(["${1:#dependencies1}"], function (${2:#dependencies2}) {
		return ${0:TARGET};
	});

snippet defn
	define("${1:#name}", ["${2:#dependencies1}"], function (${3:#dependencies2}) {
		return ${0:TARGET};
	});

snippet reqjs
	require(["${1:#dependencies1}"], function (${2:#dependencies2}) {
		return ${0:TARGET};
	});