about summary refs log tree commit diff
path: root/snippets/js2-mode/before
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/js2-mode/before')
-rw-r--r--snippets/js2-mode/before7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/js2-mode/before b/snippets/js2-mode/before
new file mode 100644
index 000000000000..4569b6583143
--- /dev/null
+++ b/snippets/js2-mode/before
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: before
+# key: bef
+# --
+before(function() {
+                  $1
+})