Skip to content

Commit

Permalink
Samples: WASM Safari workaround (#185)
Browse files Browse the repository at this point in the history
See mono/mono#15588 (comment). blazorstrap.io currently won't load in preview versions of Safari (which will become non-preview in a few days); this one-liner tries to work around it.
  • Loading branch information
chucker authored and jbomhold3 committed Sep 12, 2019
1 parent 16f683e commit ff2731f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Sample/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
</head>
<body>
<app>Loading...</app>

<!-- temporary WORKAROUND for Safari https://github.com/mono/mono/issues/15588#issuecomment-529056521 -->
<script>var Module;</script>

<script src="_framework/blazor.webassembly.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
</html>

0 comments on commit ff2731f

Please sign in to comment.