diff --git a/UltiSnips/javascript.snippets b/UltiSnips/javascript.snippets index 8bb3968..a725c45 100644 --- a/UltiSnips/javascript.snippets +++ b/UltiSnips/javascript.snippets @@ -112,3 +112,7 @@ endsnippet snippet th "this.handle..." this.handle${1:Click} = this.handle$1.bind(this); endsnippet + +snippet tb "this ... = ... .bind(this);" +this.$1 = this.$1.bind(this); +endsnippet