From df420f6fa3f397d59821297a4b911b6ca01846f4 Mon Sep 17 00:00:00 2001 From: Rexios Date: Wed, 17 Jul 2024 19:51:18 -0400 Subject: [PATCH] Modernize all `index.html` files to support WASM (#7114) Fixes https://github.com/flutter/flutter/issues/151663 in preparation for https://github.com/flutter/flutter/issues/151664 --- packages/animations/example/web/index.html | 2 +- packages/camera/camera/example/web/index.html | 13 +--- .../camera/camera_web/example/web/index.html | 2 +- .../file_selector/example/web/index.html | 12 +--- .../file_selector_web/example/web/index.html | 2 +- .../flutter_markdown/example/web/index.html | 12 +--- packages/go_router/example/web/index.html | 68 +------------------ .../example/web/index.html | 2 +- .../google_sign_in_web/example/web/index.html | 2 +- .../image_picker/example/web/index.html | 12 +--- .../example/web/index.html | 2 +- .../example/web/index.html | 12 +--- packages/rfw/example/hello/web/index.html | 68 +------------------ packages/rfw/example/local/web/index.html | 68 +------------------ packages/rfw/example/remote/web/index.html | 68 +------------------ .../shared_preferences/example/web/index.html | 2 +- .../example/web/index.html | 2 +- .../url_launcher/example/web/index.html | 12 +--- .../url_launcher_web/example/web/index.html | 2 +- .../video_player/example/web/index.html | 2 +- .../video_player_web/example/web/index.html | 2 +- 21 files changed, 22 insertions(+), 345 deletions(-) diff --git a/packages/animations/example/web/index.html b/packages/animations/example/web/index.html index 7fb138cc90fa..956b11f49f7a 100644 --- a/packages/animations/example/web/index.html +++ b/packages/animations/example/web/index.html @@ -8,6 +8,6 @@ example - + diff --git a/packages/camera/camera/example/web/index.html b/packages/camera/camera/example/web/index.html index 2a3117d29362..015dee5950ac 100644 --- a/packages/camera/camera/example/web/index.html +++ b/packages/camera/camera/example/web/index.html @@ -23,17 +23,8 @@ - - - + - \ No newline at end of file + diff --git a/packages/camera/camera_web/example/web/index.html b/packages/camera/camera_web/example/web/index.html index f3c6a5e8a8e3..d11c45a766b9 100644 --- a/packages/camera/camera_web/example/web/index.html +++ b/packages/camera/camera_web/example/web/index.html @@ -7,6 +7,6 @@ Browser Tests - + diff --git a/packages/file_selector/file_selector/example/web/index.html b/packages/file_selector/file_selector/example/web/index.html index c6fa1623be95..1fb8a6286811 100644 --- a/packages/file_selector/file_selector/example/web/index.html +++ b/packages/file_selector/file_selector/example/web/index.html @@ -21,16 +21,6 @@ - - - + diff --git a/packages/file_selector/file_selector_web/example/web/index.html b/packages/file_selector/file_selector_web/example/web/index.html index dc9f89762aec..7836d612c4e0 100644 --- a/packages/file_selector/file_selector_web/example/web/index.html +++ b/packages/file_selector/file_selector_web/example/web/index.html @@ -7,6 +7,6 @@ Browser Tests - + diff --git a/packages/flutter_markdown/example/web/index.html b/packages/flutter_markdown/example/web/index.html index 97bf470a8359..f0596549e11d 100644 --- a/packages/flutter_markdown/example/web/index.html +++ b/packages/flutter_markdown/example/web/index.html @@ -33,16 +33,6 @@ - - - + diff --git a/packages/go_router/example/web/index.html b/packages/go_router/example/web/index.html index 26266a4f3870..0bebdc353df0 100644 --- a/packages/go_router/example/web/index.html +++ b/packages/go_router/example/web/index.html @@ -30,72 +30,6 @@ - - + diff --git a/packages/google_maps_flutter/google_maps_flutter_web/example/web/index.html b/packages/google_maps_flutter/google_maps_flutter_web/example/web/index.html index 9cbd7be791d2..4d058d79cc5f 100644 --- a/packages/google_maps_flutter/google_maps_flutter_web/example/web/index.html +++ b/packages/google_maps_flutter/google_maps_flutter_web/example/web/index.html @@ -10,6 +10,6 @@ - + diff --git a/packages/google_sign_in/google_sign_in_web/example/web/index.html b/packages/google_sign_in/google_sign_in_web/example/web/index.html index 9e1284771b82..0446dcd58ec6 100644 --- a/packages/google_sign_in/google_sign_in_web/example/web/index.html +++ b/packages/google_sign_in/google_sign_in_web/example/web/index.html @@ -7,7 +7,7 @@ Browser Tests - + diff --git a/packages/image_picker/image_picker/example/web/index.html b/packages/image_picker/image_picker/example/web/index.html index b05fdf840323..f61db847241c 100644 --- a/packages/image_picker/image_picker/example/web/index.html +++ b/packages/image_picker/image_picker/example/web/index.html @@ -21,16 +21,6 @@ - - - + diff --git a/packages/image_picker/image_picker_for_web/example/web/index.html b/packages/image_picker/image_picker_for_web/example/web/index.html index 7fb138cc90fa..956b11f49f7a 100644 --- a/packages/image_picker/image_picker_for_web/example/web/index.html +++ b/packages/image_picker/image_picker_for_web/example/web/index.html @@ -8,6 +8,6 @@ example - + diff --git a/packages/pointer_interceptor/pointer_interceptor/example/web/index.html b/packages/pointer_interceptor/pointer_interceptor/example/web/index.html index a53f5677b573..3b03b888324f 100644 --- a/packages/pointer_interceptor/pointer_interceptor/example/web/index.html +++ b/packages/pointer_interceptor/pointer_interceptor/example/web/index.html @@ -33,16 +33,6 @@ - - - + diff --git a/packages/rfw/example/hello/web/index.html b/packages/rfw/example/hello/web/index.html index f8a21fb04c41..cb7cb5692278 100644 --- a/packages/rfw/example/hello/web/index.html +++ b/packages/rfw/example/hello/web/index.html @@ -36,72 +36,6 @@ - - + diff --git a/packages/rfw/example/local/web/index.html b/packages/rfw/example/local/web/index.html index 6872e672fc4f..aab27dd0cbb6 100644 --- a/packages/rfw/example/local/web/index.html +++ b/packages/rfw/example/local/web/index.html @@ -36,72 +36,6 @@ - - + diff --git a/packages/rfw/example/remote/web/index.html b/packages/rfw/example/remote/web/index.html index 2bcc056677ae..b11392f8b6ce 100644 --- a/packages/rfw/example/remote/web/index.html +++ b/packages/rfw/example/remote/web/index.html @@ -36,72 +36,6 @@ - - + diff --git a/packages/shared_preferences/shared_preferences/example/web/index.html b/packages/shared_preferences/shared_preferences/example/web/index.html index 7fb138cc90fa..956b11f49f7a 100644 --- a/packages/shared_preferences/shared_preferences/example/web/index.html +++ b/packages/shared_preferences/shared_preferences/example/web/index.html @@ -8,6 +8,6 @@ example - + diff --git a/packages/shared_preferences/shared_preferences_web/example/web/index.html b/packages/shared_preferences/shared_preferences_web/example/web/index.html index 7fb138cc90fa..956b11f49f7a 100644 --- a/packages/shared_preferences/shared_preferences_web/example/web/index.html +++ b/packages/shared_preferences/shared_preferences_web/example/web/index.html @@ -8,6 +8,6 @@ example - + diff --git a/packages/url_launcher/url_launcher/example/web/index.html b/packages/url_launcher/url_launcher/example/web/index.html index c3d22621fc4f..67c90440179f 100644 --- a/packages/url_launcher/url_launcher/example/web/index.html +++ b/packages/url_launcher/url_launcher/example/web/index.html @@ -21,16 +21,6 @@ - - - + diff --git a/packages/url_launcher/url_launcher_web/example/web/index.html b/packages/url_launcher/url_launcher_web/example/web/index.html index dc9f89762aec..7836d612c4e0 100644 --- a/packages/url_launcher/url_launcher_web/example/web/index.html +++ b/packages/url_launcher/url_launcher_web/example/web/index.html @@ -7,6 +7,6 @@ Browser Tests - + diff --git a/packages/video_player/video_player/example/web/index.html b/packages/video_player/video_player/example/web/index.html index 0df50f1192dc..8030c29471dd 100644 --- a/packages/video_player/video_player/example/web/index.html +++ b/packages/video_player/video_player/example/web/index.html @@ -8,6 +8,6 @@ video_player web example - + diff --git a/packages/video_player/video_player_web/example/web/index.html b/packages/video_player/video_player_web/example/web/index.html index 7fb138cc90fa..956b11f49f7a 100644 --- a/packages/video_player/video_player_web/example/web/index.html +++ b/packages/video_player/video_player_web/example/web/index.html @@ -8,6 +8,6 @@ example - +