Skip to content

Commit 91156f8

Browse files
authored
do not try to load external packages in Requires.jl required files (#477)
1 parent 8dc738b commit 91156f8

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

src/WebIO.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Widgets
88
import Widgets: node, AbstractWidget
99
using Logging
1010
using UUIDs
11+
using Base64
1112

1213
include("../deps/bundlepaths.jl")
1314

src/providers/blink.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# WebIO+Blink integration is now implemented in Blink.jl.
33
# https://github.com/JunoLab/Blink.jl/pull/201
44

5-
using AssetRegistry
6-
using Base64: stringmime
5+
using .AssetRegistry
6+
using .Base64: stringmime
77

8-
using Sockets
8+
using .Sockets
99

1010
struct BlinkConnection <: WebIO.AbstractConnection
1111
page::Blink.Page

src/providers/generic_http.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Sockets
2-
import AssetRegistry, JSON
3-
using WebIO
1+
using .Sockets
2+
import .AssetRegistry, .JSON
3+
using .WebIO
44
using .WebSockets: is_upgrade, upgrade, writeguarded
55
using .WebSockets: HTTP
66

src/providers/ijulia.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using AssetRegistry
2-
using Sockets
3-
using WebIO
1+
using .AssetRegistry
2+
using .Sockets
3+
using .WebIO
44

55
struct IJuliaConnection <: AbstractConnection
66
comm::IJulia.CommManager.Comm

src/providers/mux.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using JSON
2-
using AssetRegistry
3-
using Sockets
4-
using Base64: stringmime
1+
using .JSON
2+
using .AssetRegistry
3+
using .Sockets
4+
using .Base64: stringmime
55
export webio_serve
66

77
"""

0 commit comments

Comments
 (0)