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
Showing
7 changed files
with
138 additions
and
50 deletions.
There are no files selected for viewing
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
1 change: 1 addition & 0 deletions
1
...x-development/test/fixtures/cross-platform/disallow-__self-as-jsx-attribute copy/input.js
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 @@ | ||
var x = <div __self={self}></div>; |
4 changes: 4 additions & 0 deletions
4
...velopment/test/fixtures/cross-platform/disallow-__self-as-jsx-attribute copy/options.json
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,4 @@ | ||
{ | ||
"throws": "__source and __self should not be defined in props and are reserved for internal usage", | ||
"plugins": ["transform-react-jsx-development"] | ||
} |
1 change: 1 addition & 0 deletions
1
...-jsx-development/test/fixtures/cross-platform/disallow-__source-as-jsx-attribute/input.js
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 @@ | ||
var x = <div __source={source}></div>; |
4 changes: 4 additions & 0 deletions
4
...-development/test/fixtures/cross-platform/disallow-__source-as-jsx-attribute/options.json
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,4 @@ | ||
{ | ||
"throws": "__source and __self should not be defined in props and are reserved for internal usage", | ||
"plugins": ["transform-react-jsx-development"] | ||
} |
Oops, something went wrong.