aboutsummaryrefslogtreecommitdiff
path: root/template/javascript/pattern.tpl
blob: 1ef204af359211f3c2ec9c710b9ee7c6a23b029f (plain)
1
2
3
4
5
6
7
8
9
10
11
\(\S\+\)\.var$
	var {{$1}} = {{_cursor_}};

^\s*\zs\(\S.*\)\.throw$
	throw {{$1}};

\(\S\+\)\.notif$
	if ({{$1}} != null) {
		{{_cursor_}}
	}