about summary refs log tree commit diff
path: root/users/aspen/emacs/snippets/js2-mode/record
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/emacs/snippets/js2-mode/record')
-rw-r--r--users/aspen/emacs/snippets/js2-mode/record7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/aspen/emacs/snippets/js2-mode/record b/users/aspen/emacs/snippets/js2-mode/record
new file mode 100644
index 000000000000..0bb0f024367b
--- /dev/null
+++ b/users/aspen/emacs/snippets/js2-mode/record
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: record
+# key: rec
+# --
+export default class $1 extends Record({
+  $2
+}) {}
\ No newline at end of file