A bunch of new snippets

This commit is contained in:
Griffin Smith 2019-07-09 17:50:51 -04:00
parent a3eb6846b3
commit 23b179ad1d
12 changed files with 76 additions and 0 deletions

7
snippets/js2-mode/before Normal file
View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: before
# key: bef
# --
before(function() {
$1
})

View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: context
# key: context
# --
context('$1', function() {
$2
})

View file

@ -0,0 +1,6 @@
# key: f
# name: function
# --
function $1($2) {
$3
}