Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc3fca8
commit eb02943
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...el-plugin-transform-react-jsx-development/test/fixtures/linux/self-inside-arrow/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div />; | ||
() => <div />; | ||
|
||
function fn() { | ||
<div />; | ||
() => <div />; | ||
} |
36 changes: 36 additions & 0 deletions
36
...l-plugin-transform-react-jsx-development/test/fixtures/linux/self-inside-arrow/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; | ||
|
||
var _jsxFileName = "<CWD>/packages/babel-plugin-transform-react-jsx-development/test/fixtures/linux/self-inside-arrow/input.mjs", | ||
_this = this; | ||
|
||
_jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 1, | ||
columnNumber: 1 | ||
}, this); | ||
|
||
(function () { | ||
return _jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 2, | ||
columnNumber: 7 | ||
}, _this); | ||
}); | ||
|
||
function fn() { | ||
var _this2 = this; | ||
|
||
_jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 5, | ||
columnNumber: 3 | ||
}, this); | ||
|
||
(function () { | ||
return _jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 6, | ||
columnNumber: 9 | ||
}, _this2); | ||
}); | ||
} |
7 changes: 7 additions & 0 deletions
7
...transform-react-jsx-development/test/fixtures/windows/self-inside-arrow-windows/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div />; | ||
() => <div />; | ||
|
||
function fn() { | ||
<div />; | ||
() => <div />; | ||
} |
36 changes: 36 additions & 0 deletions
36
...ransform-react-jsx-development/test/fixtures/windows/self-inside-arrow-windows/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; | ||
|
||
var _jsxFileName = "C:\\Users\\travis\\build\\babel\\babel\\packages\\babel-plugin-transform-react-jsx-development\\test\\fixtures\\windows\\self-inside-arrow\\input.mjs", | ||
_this = this; | ||
|
||
_jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 1, | ||
columnNumber: 1 | ||
}, this); | ||
|
||
(function () { | ||
return _jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 2, | ||
columnNumber: 7 | ||
}, _this); | ||
}); | ||
|
||
function fn() { | ||
var _this2 = this; | ||
|
||
_jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 5, | ||
columnNumber: 3 | ||
}, this); | ||
|
||
(function () { | ||
return _jsxDEV("div", {}, void 0, false, { | ||
fileName: _jsxFileName, | ||
lineNumber: 6, | ||
columnNumber: 9 | ||
}, _this2); | ||
}); | ||
} |