Skip to content

Commit d882712

Browse files
committed
Updated docs and removed default from generator
1 parent 8d1be46 commit d882712

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Enjoy :D
1414
|Prefix|Method|
1515
|-------:|-------|
1616
|`log→`|`console.log(${1:msg})`|
17-
|`anf`|`(${1:params}) => { $2 }`|
17+
|`anfn`|`(${1:params}) => { $2 }`|
1818
|`nfn→`|`const ${1:functionName} = (${2:params}) => { $3 }`|
1919
|`fn→`|`function ${1:functionName} (${2:params}) { $3 }`|
2020
|`imp→`|`import ${1:ModuleName} from '${2:Module}';`|

snippets/snippets.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(${1:componentName});
133133
'.source.js':
134134
'redux-saga Generator Function':
135135
'prefix': 'rxgen'
136-
'body': """ export default function* ${1:workerName}Saga() {
136+
'body': """ export function* ${1:workerName}Saga() {
137137
138138
}
139139
"""

0 commit comments

Comments
 (0)