Skip to content

Commit 76dd7a5

Browse files
authored
Merge pull request #839 from reactjs/sync-3ee3a60a
Sync with react.dev @ 3ee3a60
2 parents 3f27507 + 600d122 commit 76dd7a5

File tree

67 files changed

+18662
-238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+18662
-238
lines changed

.github/workflows/discord_notify.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Discord Notify
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, ready_for_review]
66

77
permissions: {}
@@ -14,7 +14,6 @@ jobs:
1414
contents: read
1515
with:
1616
actor: ${{ github.event.pull_request.user.login }}
17-
is_remote: true
1817

1918
notify:
2019
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}

.github/workflows/label_core_team_prs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Label Core Team PRs
22

33
on:
4-
pull_request:
4+
pull_request_target:
55

66
permissions: {}
77

@@ -18,7 +18,6 @@ jobs:
1818
contents: read
1919
with:
2020
actor: ${{ github.event.pull_request.user.login }}
21-
is_remote: true
2221

2322
label:
2423
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ module.exports = {
1717
},
1818
},
1919
},
20-
}
20+
};
75.6 KB
Binary file not shown.
64.9 KB
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.

public/js/jsfiddle-integration-babel.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
// Do not delete or move this file.
66
// Many fiddles reference it so we have to keep it here.
7-
(function() {
7+
(function () {
88
var tag = document.querySelector(
99
'script[type="application/javascript;version=1.7"]'
1010
);
1111
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) {
12-
alert('Bad JSFiddle configuration, please fork the original React JSFiddle');
12+
alert(
13+
'Bad JSFiddle configuration, please fork the original React JSFiddle'
14+
);
1315
}
1416
tag.setAttribute('type', 'text/babel');
1517
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, '');

0 commit comments

Comments
 (0)