Skip to content

Commit 74baf30

Browse files
SimonDanischshashi
authored andcommitted
don't require HTTP + Websockets
1 parent 7a92caa commit 74baf30

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

REQUIRE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ AssetRegistry
66
Requires
77
Compat 0.59
88
Widgets 0.3.1
9-
HTTP
10-
WebSockets

src/WebIO.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ include("render.jl")
1717
include("connection.jl")
1818
include("iframe.jl")
1919
include("devsetup.jl")
20-
include("providers/generic_http.jl")
20+
2121

2222
"""
2323
setup_provider(s::Union{Symbol, AbstractString})
@@ -65,6 +65,12 @@ function __init__()
6565
@require IJulia="7073ff75-c697-5162-941a-fcdaad2a7d2a" begin
6666
include(joinpath("providers", "ijulia.jl"))
6767
end
68+
@require HTTP="cd3eb016-35fb-5094-929b-558a96fad6f3" begin
69+
@require WebSockets="104b5d7c-a370-577a-8038-80a2059c5097" begin
70+
include(joinpath("providers", "generic_http.jl"))
71+
end
72+
end
73+
6874
end
6975

7076
end # module

0 commit comments

Comments
 (0)