Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Throws error on Firefox (current version).
  • Loading branch information
Jacob Durrant committed Nov 26, 2019
1 parent 75fc244 commit e1a006c
Show file tree
Hide file tree
Showing 14 changed files with 1,166 additions and 4 deletions.
4 changes: 4 additions & 0 deletions dist/Webina/vina.js
Expand Up @@ -591,12 +591,16 @@ if (ENVIRONMENT_IS_PTHREAD) {} else {
if (WEBINA_Module["wasmMemory"]) {
wasmMemory = WEBINA_Module["wasmMemory"]
} else {
try {
wasmMemory = new WebAssembly.Memory({
"initial": INITIAL_TOTAL_MEMORY / WASM_PAGE_SIZE,
"maximum": INITIAL_TOTAL_MEMORY / WASM_PAGE_SIZE,
"shared": true
});
WEBINA_assert(wasmMemory.buffer instanceof SharedArrayBuffer, "requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag")
} catch(error) {
WEBINA_Module["catchError"]({"message": "Problem using shared memory, likely because your browser does not have WebAssembly threads support. Please use a different browser, such as Google Chrome."});
}
}
}
if (wasmMemory) {
Expand Down
3 changes: 2 additions & 1 deletion dist/Webina/vina.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions dist/app.a60461f7d6b6cc0ca2d6.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.html
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Webina</title>
<link rel="shortcut icon" href="favicon.ico"><link href="vendors.dbaa9754363c8988e86c.1.css" rel="stylesheet"><link href="styles.dbaa9754363c8988e86c.3.css" rel="stylesheet"></head>
<link rel="shortcut icon" href="favicon.ico"><link href="vendors.a60461f7d6b6cc0ca2d6.1.css" rel="stylesheet"><link href="styles.a60461f7d6b6cc0ca2d6.3.css" rel="stylesheet"></head>

<body>
<div id="app"></div>
Expand All @@ -19,6 +19,6 @@
<script src="vue.min.js"></script>
<script src="vuex.min.js"></script>
<script src="bootstrap-vue.min.js"></script>
<script type="text/javascript" src="runtime.dbaa9754363c8988e86c.js"></script><script type="text/javascript" src="vendors.dbaa9754363c8988e86c.js"></script><script type="text/javascript" src="app.dbaa9754363c8988e86c.js"></script><script type="text/javascript" src="styles.dbaa9754363c8988e86c.js"></script><script type="text/javascript" src="styles.css.dbaa9754363c8988e86c.js"></script></body>
<script type="text/javascript" src="runtime.a60461f7d6b6cc0ca2d6.js"></script><script type="text/javascript" src="vendors.a60461f7d6b6cc0ca2d6.js"></script><script type="text/javascript" src="app.a60461f7d6b6cc0ca2d6.js"></script><script type="text/javascript" src="styles.a60461f7d6b6cc0ca2d6.js"></script><script type="text/javascript" src="styles.css.a60461f7d6b6cc0ca2d6.js"></script></body>

</html>
3 changes: 3 additions & 0 deletions dist/runtime.a60461f7d6b6cc0ca2d6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions dist/styles.a60461f7d6b6cc0ca2d6.3.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/styles.a60461f7d6b6cc0ca2d6.js
@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1:function(b,c,a){a("+eM2");a("LdiE");a("GwUf");b.exports=a("8Lv4")},"8Lv4":function(b,c,a){},GwUf:function(b,c,a){}}]);
1 change: 1 addition & 0 deletions dist/styles.css.a60461f7d6b6cc0ca2d6.js
@@ -0,0 +1 @@
(function(){(window.webpackJsonp=window.webpackJsonp||[]).push([[4],[],[[1,0,1,3]]])}).call(this||window);
9 changes: 9 additions & 0 deletions dist/vendors.a60461f7d6b6cc0ca2d6.1.css

Large diffs are not rendered by default.

0 comments on commit e1a006c

Please sign in to comment.