Skip to content

Commit 9956042

Browse files
committed
update examples so that you still see a picture of my dog
1 parent 299765f commit 9956042

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/notebook.jl

+9-2
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,10 @@ Marks a expression as Pluto-only, which means that it won't be executed when run
570570
macro skip_as_script(ex) is_inside_pluto(__module__) ? esc(ex) : nothing end
571571

572572
# ╔═╡ fd8428a3-9fa3-471a-8b2d-5bbb8fdb3137
573-
@skip_as_script is_good_boy(x) = true;
573+
@skip_as_script begin
574+
is_good_boy(x) = true
575+
is_bad_boy(x) = false
576+
end
574577

575578
# ╔═╡ d97987a0-bdc0-46ed-a6a5-f35c1ce961dc
576579
ex1 = @skip_as_script :(first([56,sqrt(9)]))
@@ -1701,6 +1704,9 @@ end
17011704
# ╔═╡ f77275b9-90aa-4e07-a608-981b5df727af
17021705
@skip_as_script @test is_good_boy(first(friends))
17031706

1707+
# ╔═╡ de7e71e2-e5e9-4f05-a61d-658f01a3e937
1708+
@skip_as_script @test is_bad_boy(first(friends))
1709+
17041710
# ╔═╡ 37529063-8ee9-46a6-85cc-94db292da541
17051711
@skip_as_script @test sqrt(sqrt(16)) == sqrt(2)
17061712

@@ -1755,6 +1761,7 @@ end |> remove_linenums |> remove_singleline_blocks === 123
17551761
# ╠═71b22e76-2b50-4d16-85f6-9dad0415630e
17561762
# ╠═6762ed72-f422-43a9-a782-de78f739c0ae
17571763
# ╠═f77275b9-90aa-4e07-a608-981b5df727af
1764+
# ╠═de7e71e2-e5e9-4f05-a61d-658f01a3e937
17581765
# ╠═37529063-8ee9-46a6-85cc-94db292da541
17591766
# ╟─56347b7e-5007-45f8-8f6d-8ac8cc719637
17601767
# ╟─bf2abe01-6ae0-4066-8704-12f64e04511b
@@ -1861,7 +1868,7 @@ end |> remove_linenums |> remove_singleline_blocks === 123
18611868
# ╟─c6d5597c-d505-4125-88c4-10415934d2a4
18621869
# ╟─872b4877-30dd-4a92-a3c8-69eb50675dcb
18631870
# ╟─c877c109-db16-468c-8f3c-8294db859d6d
1864-
# ╟─ab0a19b8-cf7c-4c4f-802a-f85eef81fc02
1871+
# ╠═ab0a19b8-cf7c-4c4f-802a-f85eef81fc02
18651872
# ╟─8480d0d7-bdf7-468d-9344-5b789e33921c
18661873
# ╠═6f5ba692-4b6a-405a-8cd3-1a8f9cc06611
18671874
# ╟─b4b317d7-bed1-489c-9650-8d336e330689

0 commit comments

Comments
 (0)