]>
Commit | Line | Data |
---|---|---|
1 | # Your snippets | |
2 | # | |
3 | # Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
4 | # expand the prefix into a larger code block with templated values. | |
5 | # | |
6 | # You can create a new snippet in this file by typing "snip" and then hitting | |
7 | # tab. | |
8 | # | |
9 | # An example CoffeeScript snippet to expand log to console.log: | |
10 | # | |
11 | # '.source.coffee': | |
12 | # 'Console log': | |
13 | # 'prefix': 'log' | |
14 | # 'body': 'console.log $1' | |
15 | # | |
16 | # This file uses CoffeeScript Object Notation (CSON). | |
17 | # If you are unfamiliar with CSON, you can read more about it here: | |
18 | # https://github.com/bevry/cson#what-is-cson |