Skip to content

Commit 7270c8b

Browse files
committed
update readme
1 parent 32c2be6 commit 7270c8b

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
js-snippets-st2
2-
===============
1+
#Javascript snippets for sublimetext2
32

4-
Javascript snippets for sublimetext2
3+
A bunch of snippets for lightning-like javascripting
4+
5+
## Examples
6+
7+
Globals and word-based
8+
9+
* w → window
10+
* d → document
11+
* a → arguments
12+
* l → location
13+
* q → querySelectorAll('')
14+
15+
Functions
16+
17+
* f → function |(|) {}
18+
19+
Logging (can be used from command palette to wrap javascript expression)
20+
21+
* cl → console.log();
22+
* cw → console.warn();
23+
* ci → console.info();
24+
* ct → console.timeStamp('');

0 commit comments

Comments
 (0)