Gaëtan de Villèle
commited on
Commit
·
9bc7cb7
1
Parent(s):
92aed1b
test
Browse files- app-logo.svg +0 -9
- cubzh.data +0 -3
- cubzh.html +80 -1
- cubzh.js +0 -0
- cubzh.wasm +0 -3
- cubzh.worker.js +0 -1
- monogram_extended.ttf +0 -0
- style.css +0 -28
app-logo.svg
DELETED
cubzh.data
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ad65e6fb7639d33ebd6a5ce0a996a041590006e3442c4f86934e8b1aca8b72bb
|
3 |
-
size 5394129
|
|
|
|
|
|
|
|
cubzh.html
CHANGED
@@ -1 +1,80 @@
|
|
1 |
-
<!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Wrapper</title>
|
7 |
+
<style>
|
8 |
+
body, html {
|
9 |
+
margin: 0;
|
10 |
+
padding: 0;
|
11 |
+
height: 100%;
|
12 |
+
overflow: hidden;
|
13 |
+
}
|
14 |
+
|
15 |
+
.fullscreen-iframe {
|
16 |
+
position: absolute;
|
17 |
+
top: 0;
|
18 |
+
left: 0;
|
19 |
+
width: 100%;
|
20 |
+
height: 100%;
|
21 |
+
}
|
22 |
+
|
23 |
+
iframe {
|
24 |
+
width: 100%;
|
25 |
+
height: 100%;
|
26 |
+
}
|
27 |
+
</style>
|
28 |
+
</head>
|
29 |
+
|
30 |
+
<body>
|
31 |
+
<div class="fullscreen-iframe">
|
32 |
+
<iframe
|
33 |
+
src="https://app.cu.bzh"
|
34 |
+
frameborder="0"
|
35 |
+
allowfullscreen
|
36 |
+
crossorigin
|
37 |
+
credentialless
|
38 |
+
allow="cross-origin-isolated">
|
39 |
+
</iframe>
|
40 |
+
</div>
|
41 |
+
</body>
|
42 |
+
|
43 |
+
<!-- <body>
|
44 |
+
|
45 |
+
<h1>Wrapper</h1>
|
46 |
+
|
47 |
+
<iframe
|
48 |
+
src="http://localhost:3000"
|
49 |
+
crossorigin
|
50 |
+
allow="cross-origin-isolated">
|
51 |
+
</iframe>
|
52 |
+
|
53 |
+
<iframe
|
54 |
+
src="https://app.cu.bzh"
|
55 |
+
crossorigin
|
56 |
+
credentialless
|
57 |
+
allow="cross-origin-isolated"
|
58 |
+
width="480px"
|
59 |
+
height="360px">
|
60 |
+
</iframe>
|
61 |
+
|
62 |
+
<script>
|
63 |
+
document.addEventListener('DOMContentLoaded', function() {
|
64 |
+
var resultElement = document.createElement('p');
|
65 |
+
var featureCheckResult;
|
66 |
+
|
67 |
+
if (typeof SharedArrayBuffer !== 'undefined') {
|
68 |
+
featureCheckResult = 'SharedArrayBuffers are supported in this browser. ✅';
|
69 |
+
} else {
|
70 |
+
featureCheckResult = 'SharedArrayBuffers are not supported in this browser. ❌';
|
71 |
+
}
|
72 |
+
|
73 |
+
resultElement.textContent = featureCheckResult;
|
74 |
+
document.body.appendChild(resultElement);
|
75 |
+
});
|
76 |
+
</script>
|
77 |
+
|
78 |
+
</body> -->
|
79 |
+
|
80 |
+
</html>
|
cubzh.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
cubzh.wasm
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a7172bca54b799b5c02cb79522739268fc31a979e966a9408f89543a85217ba2
|
3 |
-
size 5220799
|
|
|
|
|
|
|
|
cubzh.worker.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
"use strict";var Module={};var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";if(ENVIRONMENT_IS_NODE){var nodeWorkerThreads=require("worker_threads");var parentPort=nodeWorkerThreads.parentPort;parentPort.on("message",data=>onmessage({data:data}));var fs=require("fs");Object.assign(global,{self:global,require:require,Module:Module,location:{href:__filename},Worker:nodeWorkerThreads.Worker,importScripts:function(f){(0,eval)(fs.readFileSync(f,"utf8")+"//# sourceURL="+f)},postMessage:function(msg){parentPort.postMessage(msg)},performance:global.performance||{now:function(){return Date.now()}}})}var initializedJS=false;function threadPrintErr(){var text=Array.prototype.slice.call(arguments).join(" ");if(ENVIRONMENT_IS_NODE){fs.writeSync(2,text+"\n");return}console.error(text)}function threadAlert(){var text=Array.prototype.slice.call(arguments).join(" ");postMessage({cmd:"alert",text:text,threadId:Module["_pthread_self"]()})}var err=threadPrintErr;self.alert=threadAlert;Module["instantiateWasm"]=(info,receiveInstance)=>{var module=Module["wasmModule"];Module["wasmModule"]=null;var instance=new WebAssembly.Instance(module,info);return receiveInstance(instance)};self.onunhandledrejection=e=>{throw e.reason??e};function handleMessage(e){try{if(e.data.cmd==="load"){let messageQueue=[];self.onmessage=e=>messageQueue.push(e);self.startWorker=instance=>{postMessage({"cmd":"loaded"});for(let msg of messageQueue){handleMessage(msg)}self.onmessage=handleMessage};Module["wasmModule"]=e.data.wasmModule;for(const handler of e.data.handlers){Module[handler]=function(){postMessage({cmd:"callHandler",handler:handler,args:[...arguments]})}}Module["wasmMemory"]=e.data.wasmMemory;Module["buffer"]=Module["wasmMemory"].buffer;Module["ENVIRONMENT_IS_PTHREAD"]=true;if(typeof e.data.urlOrBlob=="string"){importScripts(e.data.urlOrBlob)}else{var objectUrl=URL.createObjectURL(e.data.urlOrBlob);importScripts(objectUrl);URL.revokeObjectURL(objectUrl)}}else if(e.data.cmd==="run"){Module["__emscripten_thread_init"](e.data.pthread_ptr,0,0,1);Module["__emscripten_thread_mailbox_await"](e.data.pthread_ptr);Module["establishStackSpace"]();Module["PThread"].receiveObjectTransfer(e.data);Module["PThread"].threadInitTLS();if(!initializedJS){Module["__embind_initialize_bindings"]();initializedJS=true}try{Module["invokeEntryPoint"](e.data.start_routine,e.data.arg)}catch(ex){if(ex!="unwind"){throw ex}}}else if(e.data.cmd==="cancel"){if(Module["_pthread_self"]()){Module["__emscripten_thread_exit"](-1)}}else if(e.data.target==="setimmediate"){}else if(e.data.cmd==="checkMailbox"){if(initializedJS){Module["checkMailbox"]()}}else if(e.data.cmd){err("worker.js received unknown command "+e.data.cmd);err(e.data)}}catch(ex){if(Module["__emscripten_thread_crashed"]){Module["__emscripten_thread_crashed"]()}throw ex}}self.onmessage=handleMessage;
|
|
|
|
monogram_extended.ttf
DELETED
Binary file (34.2 kB)
|
|
style.css
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
body {
|
2 |
-
padding: 2rem;
|
3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
4 |
-
}
|
5 |
-
|
6 |
-
h1 {
|
7 |
-
font-size: 16px;
|
8 |
-
margin-top: 0;
|
9 |
-
}
|
10 |
-
|
11 |
-
p {
|
12 |
-
color: rgb(107, 114, 128);
|
13 |
-
font-size: 15px;
|
14 |
-
margin-bottom: 10px;
|
15 |
-
margin-top: 5px;
|
16 |
-
}
|
17 |
-
|
18 |
-
.card {
|
19 |
-
max-width: 620px;
|
20 |
-
margin: 0 auto;
|
21 |
-
padding: 16px;
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
-
}
|
25 |
-
|
26 |
-
.card p:last-child {
|
27 |
-
margin-bottom: 0;
|
28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|