Skip to content

Commit

Permalink
updated readme for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturLevchuk committed Nov 14, 2024
1 parent e9137b9 commit dc131f1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,10 @@ FlutterChain is a library that provides developers with a simple API to communic
window.addEventListener("load", async function (ev) {
{{flutter_js}}
{{flutter_build_config}}
_flutter.loader.load({
serviceWorker: {
serviceWorkerVersion: '{{flutter_service_worker_version}}',
},
onEntrypointLoaded: function (engineInitializer) {
engineInitializer.initializeEngine().then(function (appRunner) {
appRunner.runApp();
});
serviceWorkerSettings: {
serviceWorkerVersion: {{flutter_service_worker_version}},
},
});
});
Expand Down

0 comments on commit dc131f1

Please sign in to comment.