Skip to content

Commit

Permalink
feature michaelgmcd#29: rename source.js.jsx to source.js
Browse files Browse the repository at this point in the history
  • Loading branch information
McDermott, Michael (CORP) committed Jun 20, 2018
1 parent 13c6b17 commit 74258ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions grammars/Babel-Language.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Babel JavaScript",
"scopeName": "source.js.jsx",
"scopeName": "source.js",
"foldingStartMarker": "(/\\*|{|\\()",
"foldingEndMarker": "(\\*/|\\}|\\))",
"firstLineMatch": "^#!\\s*/.*\\b(node|js)$\\n?",
Expand Down Expand Up @@ -4509,7 +4509,7 @@
"patterns": [
{
"name": "meta.embedded.expression.js",
"contentName": "source.js.jsx",
"contentName": "source.js",
"begin": "{",
"end": "}",
"beginCaptures": {
Expand Down
4 changes: 2 additions & 2 deletions grammars/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"patterns": [
{
"include": "source.js.jsx#expression"
"include": "source.js#expression"
}
]
},
Expand All @@ -140,7 +140,7 @@
"css-comment-and-interpolate": {
"patterns": [
{
"include": "source.js.jsx#string-content"
"include": "source.js#string-content"
},
{
"include": "#css-comment"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"grammars": [
{
"language": "javascript",
"scopeName": "source.js.jsx",
"scopeName": "source.js",
"path": "./grammars/Babel-Language.json",
"embeddedLanguages": {
"meta.tag.jsx": "jsx",
Expand Down

0 comments on commit 74258ca

Please sign in to comment.