Summary: Back out "Back out "[flipper] Export init function"" Original commit changeset: 93b916d472b7 The import side effect seems to cause some issues with shadowing, so let's pull this all the way to the top and call this from HTML as Sonar.init(). Reviewed By: danielbuechele Differential Revision: D9849869 fbshipit-source-id: b62772ecddc59eab00251ebf19816f470d76ba82
22 lines
549 B
HTML
22 lines
549 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="style.css">
|
|
<link rel="stylesheet" href="graphiql/graphiql.css">
|
|
<link rel="stylesheet" href="vis/vis.min.css">
|
|
<title>Sonar</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script>
|
|
global.electronRequire = window.require;
|
|
</script>
|
|
<script src="bundle.js"></script>
|
|
<script>
|
|
global.Sonar.init();
|
|
</script>
|
|
</body>
|
|
</html>
|