Skip to content

Commit

Permalink
do not try to load external packages in Requires.jl required files (#477
Browse files Browse the repository at this point in the history
)
  • Loading branch information
KristofferC authored Jan 22, 2022
1 parent 8dc738b commit 91156f8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/WebIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Widgets
import Widgets: node, AbstractWidget
using Logging
using UUIDs
using Base64

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

Expand Down
6 changes: 3 additions & 3 deletions src/providers/blink.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# WebIO+Blink integration is now implemented in Blink.jl.
# https://github.com/JunoLab/Blink.jl/pull/201

using AssetRegistry
using Base64: stringmime
using .AssetRegistry
using .Base64: stringmime

using Sockets
using .Sockets

struct BlinkConnection <: WebIO.AbstractConnection
page::Blink.Page
Expand Down
6 changes: 3 additions & 3 deletions src/providers/generic_http.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Sockets
import AssetRegistry, JSON
using WebIO
using .Sockets
import .AssetRegistry, .JSON
using .WebIO
using .WebSockets: is_upgrade, upgrade, writeguarded
using .WebSockets: HTTP

Expand Down
6 changes: 3 additions & 3 deletions src/providers/ijulia.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using AssetRegistry
using Sockets
using WebIO
using .AssetRegistry
using .Sockets
using .WebIO

struct IJuliaConnection <: AbstractConnection
comm::IJulia.CommManager.Comm
Expand Down
8 changes: 4 additions & 4 deletions src/providers/mux.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using JSON
using AssetRegistry
using Sockets
using Base64: stringmime
using .JSON
using .AssetRegistry
using .Sockets
using .Base64: stringmime
export webio_serve

"""
Expand Down

0 comments on commit 91156f8

Please sign in to comment.