From 44f210c1e0d54fbae01160f2da9e6af64a80e04a Mon Sep 17 00:00:00 2001 From: Plague Fox Date: Sat, 17 Aug 2024 16:03:13 +0400 Subject: [PATCH] refactor: Update app titles to include "Spinify" --- .gitignore | 5 +++- .../.firebase/hosting.YnVpbGRcd2Vi.cache | 30 ------------------- lib/src/transport_ws_pb_js.dart | 8 +++++ 3 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 benchmark/.firebase/hosting.YnVpbGRcd2Vi.cache diff --git a/.gitignore b/.gitignore index aded267..cdce770 100644 --- a/.gitignore +++ b/.gitignore @@ -86,4 +86,7 @@ config.json # Binaries for programs and plugins *.exe -*.exe~ \ No newline at end of file +*.exe~ + +# Firebase +.firebase/ \ No newline at end of file diff --git a/benchmark/.firebase/hosting.YnVpbGRcd2Vi.cache b/benchmark/.firebase/hosting.YnVpbGRcd2Vi.cache deleted file mode 100644 index 766faf3..0000000 --- a/benchmark/.firebase/hosting.YnVpbGRcd2Vi.cache +++ /dev/null @@ -1,30 +0,0 @@ -favicon.png,1722443546310,0cab6e3dd5a9f008afdd133e1e1207cf65f2f2a10eb6712e3c209d8a5f76425a -index.html,1723893245262,94c885ed58e35dab51653d37043b144129aa594e4cbc29d9b4ab6ea55605eac8 -flutter.js,1723056583211,e029031dd81fb1264d754b510867c5a50f180b1e472b3ceef6aa8e393f4c8747 -flutter_bootstrap.js,1723893245255,d7007ebd7cafb5b3fa89ff914e9e7ee847e54f9fe56d8e074d58228377873110 -manifest.json,1723816256709,a6bc70f476defb641b7d37622afdea62492ed7322bde5876272beaecabdc50ef -flutter_service_worker.js,1723893263810,d7a0037b5da7fb64badcd15ad7e97b385eb23b80e836a2ea26c4dc4bb39982e9 -version.json,1723893262798,5edb0c3b00c5f5f9ba513f00fe869345404df18c8eea9c480b4fb7b13234abb2 -assets/AssetManifest.bin.json,1723893262852,6763aaa55146ec9534c671aaf5a6db93265eaaa8082767ea02eb2ac9b09cbdaa -assets/AssetManifest.bin,1723893262852,93e425eb6f3c87a588cd708f748fc5bb80fa28bf34c6d814b2bd76daa6a6ed27 -assets/AssetManifest.json,1723893262852,4dc0ac6e0cd8a5aca4a340ed626f7a9410f9abf8c874ee5e6ace847171e71c7a -assets/FontManifest.json,1723893262853,638dde6f87e8796f3054f78065f73846fc5e170e081d2501d08e3ceaa300edb5 -assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1723893263622,b2d803893415a3fb984c0202f9746f5fc8a3129d9b0a9e3284df3b74d39f0a0b -assets/fonts/MaterialIcons-Regular.otf,1723893263622,ff62477796319410b1e6267e47a0f84e367945278502785d17e92989b7bd4d7b -assets/shaders/ink_sparkle.frag,1723893262925,70b54a0a60a1e50bfc473198225b376030380c7b9dddba1ea9ce5180d654451c -canvaskit/skwasm.worker.js,1723056583208,4d46196245dc222fe063d4554ec2477feb1034714b964029f7f3975a62bba92d -icons/Icon-192.png,1722443546310,eaf2464bfb1d192fdd192a616f7b858dee456d573c6ec619648a1dcf2bdddfa6 -icons/Icon-maskable-192.png,1722443664829,196ce9142a3442ab37ae90cd46c3389e4660400c859b81cbb0538a51b39752eb -icons/Icon-512.png,1722443546311,9cf4cd298ae95acc1f25e97d88aa3f6bbfdf40867ea0f8a854c4393f49d56e64 -icons/Icon-maskable-512.png,1722443664828,6833b7c449e0dd24d5e164a53cc4557e643893e675b476b05efcbb9a6aa05bf0 -canvaskit/canvaskit.js,1723056583153,10625ba380417fde12bf47de2140331aa485c64b1634cc327110032ac8bb68e2 -canvaskit/skwasm.js,1723056583195,df56638e96c2f00fd95818a5a3068b71ed366864d8dd2c293ef269246c69eb74 -canvaskit/chromium/canvaskit.js,1723056583174,47ac4dc0b45535e29cbca024d3761a01c17158bf6ca6d62486dfc71bb1e2fe9d -assets/NOTICES,1723893262853,21a8ff1860c22dd7461706574f70a4abebbba381d13cfdce7936d6abb2b779a5 -canvaskit/chromium/canvaskit.js.symbols,1723056583176,a8976c3e515c86de158a328bede5c8a88f79e0bc12d30a85875e4ffb3f404251 -canvaskit/canvaskit.js.symbols,1723056583155,87c2807f94b798c5ac898c6fdc0932e323525e7cf8e704f26c6fe75220e88732 -canvaskit/skwasm.js.symbols,1723056583198,b3067b32d700a64ae05ac5e00a93e8fde95b2cdef4f5070e95d92155e0e2cf5d -main.dart.js,1723893262437,1e457ead6494a8549a24b2638e16efe381bc934346b1fb87178f9a87364fc9ab -canvaskit/skwasm.wasm,1723056583208,b897540aae7f275d8e4cfe1bcf3eed4275dd3482ac3d7fb643400234f9c5ebce -canvaskit/chromium/canvaskit.wasm,1723056583195,5bbcff71f1b43685c81e0dbdb238cfffac82116f63e1b05dd1c50ae4aa456bec -canvaskit/canvaskit.wasm,1723056583173,7aa921af181b1989bfe88875aa6eb8131e90f57d8e839ccd9a293ef39ed1dee0 diff --git a/lib/src/transport_ws_pb_js.dart b/lib/src/transport_ws_pb_js.dart index 3107cb5..64b08e3 100644 --- a/lib/src/transport_ws_pb_js.dart +++ b/lib/src/transport_ws_pb_js.dart @@ -137,6 +137,14 @@ Future $create$WS$PB$Transport({ }); }); + /* socket.onmessage = (web.MessageEvent event) { + final data = event.data; + eventQueue.add(() async { + if (transport == null || transport.disconnected) return; + final bytes = await _blobCodec.read(data); + transport._onData(bytes); + }); + }.toJS; */ onMessage = socket.onMessage.listen((event) { eventQueue.add(() async { final bytes = await _blobCodec.read(event.data);