diff --git a/site/package.json b/site/package.json index 04b12a8932..5d5aa548f5 100644 --- a/site/package.json +++ b/site/package.json @@ -57,6 +57,6 @@ "rollup-plugin-terser": "^4.0.4", "sapper": "^0.26.0-alpha.12", "shimport": "0.0.16", - "svelte": "^3.0.0-beta.21" + "svelte": "^3.0.0-beta.25" } } diff --git a/site/src/routes/repl/index.svelte b/site/src/routes/repl/index.svelte index 6b4e3953c6..4455d4d037 100644 --- a/site/src/routes/repl/index.svelte +++ b/site/src/routes/repl/index.svelte @@ -203,7 +203,7 @@ {rollupUrl} {relaxed} fixed={mobile} - setup={mapbox_setup} + injectedJS={mapbox_setup} /> diff --git a/site/src/routes/tutorial/[slug]/index.svelte b/site/src/routes/tutorial/[slug]/index.svelte index ba6b7209d6..158f4aa987 100644 --- a/site/src/routes/tutorial/[slug]/index.svelte +++ b/site/src/routes/tutorial/[slug]/index.svelte @@ -287,7 +287,7 @@ orientation={mobile ? 'columns' : 'rows'} fixed={mobile} on:change={handle_change} - setup={mapbox_setup} + injectedJS={mapbox_setup} relaxed />