Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 22e05be

Browse files
author
Yang Su
committed
Updated readme
1 parent f71fe11 commit 22e05be

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sublime-react
22

3-
Snippets for ReactJS. This package used to provide JSX syntax highlighting and has been DEPRECATED in favor of [babel/babel-sublime](https://github.com/babel/babel-sublime).
3+
Snippets for ReactJS. This package used to provide JSX syntax highlighting and has been DEPRECATED in favor of babel/babel-sublime.
44

55
![alt tag](https://raw.github.com/jgebhardt/sublime-react/master/docs/img/sr-rcc-out.gif)
66

@@ -39,7 +39,7 @@ Snippets are available for both JSX and CJSX ([React CoffeeScript](https://githu
3939
4040
cs→ var cx = React.addons.classSet;
4141
42-
ctx→ this.context.
42+
ctx→ this.context.
4343
4444
cwm→ componentWillMount: fn() { ... }
4545
@@ -55,41 +55,41 @@ Snippets are available for both JSX and CJSX ([React CoffeeScript](https://githu
5555
5656
fup→ forceUpdate(...)
5757
58-
gdp→ getDefaultProps: fn() { return {...} }
58+
gdp→ getDefaultProps: fn() { return {...} }
5959
60-
gis→ getInitialState: fn() { return {...} }
60+
gis→ getInitialState: fn() { return {...} }
6161
6262
ism→ isMounted()
6363
6464
props→ this.props.
6565
6666
pt→ propTypes { ... }
6767
68-
pta→ React.PropTypes.array
68+
pta→ PropTypes.array
6969
70-
ptb→ React.PropTypes.bool
70+
ptb→ PropTypes.bool
7171
72-
pte→ React.PropTypes.element
72+
pte→ PropTypes.element
7373
74-
ptf→ React.PropTypes.func
74+
ptf→ PropTypes.func
7575
76-
pti→ React.PropTypes.instanceOf
76+
pti→ PropTypes.instanceOf
7777
78-
ptn→ React.PropTypes.node
78+
ptn→ PropTypes.node
7979
80-
ptn→ React.PropTypes.number
80+
ptn→ PropTypes.number
8181
82-
ptofReact.PropTypes.objectOf
82+
pto→ PropTypes.object
8383
84-
ptof→ React.PropTypes.oneOf
84+
ptof→ PropTypes.objectOf
8585
86-
ptoftReact.PropTypes.oneOfType
86+
ptof→ PropTypes.oneOf (Enum)
8787
88-
ptoReact.PropTypes.object
88+
ptoft→ PropTypes.oneOfType (Union)
8989
90-
ptspReact.PropTypes.shape
90+
pts→ PropTypes.string
9191
92-
ptsReact.PropTypes.string
92+
ptsp→ PropTypes.shape
9393
9494
rcc→ component skeleton
9595

0 commit comments

Comments
 (0)