Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpryan committed Jan 11, 2024
1 parent aae8963 commit 3ca7a09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkgs/sketch_pad/web/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ function messageHandler(e) {
};

function runFlutterApp(compiledScript) {
console.log(compiledScript);
var blob = new Blob([compiledScript], {type: 'text/javascript'});
var url = URL.createObjectURL(blob);
console.log(url);
window.trustedTypes = null;
_flutter.loader.loadEntrypoint({
entrypointUrl: url,
onEntrypointLoaded: function(engineInitializer) {
Expand Down

0 comments on commit 3ca7a09

Please sign in to comment.