about summary refs log tree commit diff
path: root/users/aspen/emacs.d/snippets/js2-mode/function
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/emacs.d/snippets/js2-mode/function')
-rw-r--r--users/aspen/emacs.d/snippets/js2-mode/function6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/aspen/emacs.d/snippets/js2-mode/function b/users/aspen/emacs.d/snippets/js2-mode/function
new file mode 100644
index 000000000000..b423044b4410
--- /dev/null
+++ b/users/aspen/emacs.d/snippets/js2-mode/function
@@ -0,0 +1,6 @@
+# key: f
+# name: function
+# --
+function $1($2) {
+         $3
+}
\ No newline at end of file