File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
packages/react-devtools-extensions/src Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ function createPanelIfReactLoaded() {
216
216
chrome . devtools . inspectedWindow . eval (
217
217
`window.postMessage({
218
218
source: 'react-devtools-inject-backend',
219
- extensionId: "${ CURRENT_EXTENSION_ID } "
219
+ extensionId: "${ CURRENT_EXTENSION_ID } ",
220
220
}, '*');` ,
221
221
function ( response , evalError ) {
222
222
if ( evalError ) {
@@ -361,15 +361,15 @@ function createPanelIfReactLoaded() {
361
361
chrome . runtime . onMessage . addListener ( onPortMessage ) ;
362
362
363
363
chrome . devtools . inspectedWindow . eval ( `
364
- window.postMessage({
365
- source: 'react-devtools-extension',
366
- extensionId: "${ CURRENT_EXTENSION_ID } "
367
- payload: {
368
- type: 'fetch-file-with-cache',
369
- url: "${ url } ",
370
- },
371
- } );
372
- ` ) ;
364
+ window.postMessage({
365
+ source: 'react-devtools-extension',
366
+ extensionId: "${ CURRENT_EXTENSION_ID } ",
367
+ payload: {
368
+ type: 'fetch-file-with-cache',
369
+ url: "${ url } ",
370
+ },
371
+ }, '*' );
372
+ ` ) ;
373
373
} ;
374
374
375
375
// Fetching files from the extension won't make use of the network cache
You can’t perform that action at this time.
0 commit comments