Make HTML entry points identical
Summary: Make both prod and dev HTML entry points identical. Reviewed By: aigoncharov Differential Revision: D51307116 fbshipit-source-id: 5aea8e455d623aba260e3e37a2c549ebc67dd3b0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
65d2ce7ed5
commit
f1b35ca592
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(async function () {
|
||||
(function () {
|
||||
// Line below needed to make Metro work. Alternatives could be considered.
|
||||
window.global = window;
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
color: #525252;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.message p {
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -43,6 +44,7 @@
|
||||
display: none;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -60,7 +62,7 @@
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
// FIXME: needed to make Metro work
|
||||
// Line below needed to make Metro work. Alternatives could be considered.
|
||||
window.global = window;
|
||||
|
||||
// Listen to changes in the network state, reload when online.
|
||||
@@ -131,6 +133,7 @@
|
||||
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
|
||||
init();
|
||||
})();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user