Skip to content

Commit ca99596

Browse files
committed
Added 'use strict' to _rcc
1 parent 28ae0b7 commit ca99596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/React (JSX).cson

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
"React: component skeleton":
5252
prefix: "_rcc"
53-
body: "import React from 'react';\n\nexport default React.createClass({\n\n\trender() {\n\t\treturn (\n\t\t\t${1:<div />}\n\t\t);\n\t}\n\n});"
53+
body: "'use strict';\nimport React from 'react';\n\nexport default React.createClass({\n\n\trender() {\n\t\treturn (\n\t\t\t${1:<div />}\n\t\t);\n\t}\n\n});"
5454

5555
"React: render() { return ... }":
5656
prefix: "_ren"

0 commit comments

Comments
 (0)