Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 8200a10

Browse files
committed
cleanup
1 parent 41f5760 commit 8200a10

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
/backend/integration/v0.14/node_modules
1717
/backend/integration/build
1818
/shells/firefox/*.xpi
19-
/shells/chrome/custom-babel-helpers.js

shells/chrome/src/GlobalHook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (window.__REACT_DEVTOOLS_GLOBAL_HOOK__) {
2222
}
2323
`
2424

25-
var saveNativeObjectCreate = `
25+
var saveNativeValues = `
2626
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeObjectCreate = Object.create;
2727
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeMap = Map;
2828
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeWeakMap = WeakMap;
@@ -36,6 +36,6 @@ var js = (
3636
// This script runs before the <head> element is created, so we add the script
3737
// to <html> instead.
3838
var script = document.createElement('script');
39-
script.textContent = checkForOld + js + saveNativeObjectCreate;
39+
script.textContent = checkForOld + js + saveNativeValues;
4040
document.documentElement.appendChild(script);
4141
script.parentNode.removeChild(script);

0 commit comments

Comments
 (0)