Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
disberd committed May 27, 2024
1 parent 8b6a000 commit 14237d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
6 changes: 0 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,12 @@ authors = ["Alberto Mengali <[email protected]>"]
version = "0.7.4"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"

[compat]
InteractiveUtils = "1"
MacroTools = "0.5"
Markdown = "1"
Pkg = "1"
Random = "1"
TOML = "1"
julia = "1.9"
22 changes: 1 addition & 21 deletions src/PlutoDevMacros.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module PlutoDevMacros

using MacroTools: shortdef
# This are from basics.jl
export @only_in_nb, @only_out_nb, plutodump, @current_pluto_cell_id,
@current_pluto_notebook_file, @addmethod
Expand All @@ -11,25 +12,4 @@ include("frompackage/FromPackage.jl")
using .FromPackage
export @fromparent, @frompackage

include("../notebooks/mapexpr.jl") # hasexpr, default_exprlist, include_mapexpr
include("../notebooks/plutoinclude_macro.jl") # hasexpr, default_exprlist, include_mapexpr

# function __init__()
# if isdefined(Main, :PlutoRunner)
# @info @htl("""
# <script>
# console.log('This is a script that is ran inside Pluto when loading PlutoDevMacros')
# const current_log = currentScript.closest('pluto-log-dot-positioner')
# const logs = current_log.parentElement
# if (logs.children.length > 1) {
# current_log.style.display = "none"
# } else {
# logs.parentElement.style.display = "none"
# }
# </script>""")
# else

# end
# end

end # module

0 comments on commit 14237d0

Please sign in to comment.