Skip to content

Commit

Permalink
Oops, removed default_async.
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly committed Aug 15, 2018
1 parent 744e0dd commit 23767d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AtomShell/window.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ function Window(a::Shell, opts::Associative = Dict())
Window(a, Page(), opts)
end

default_async = false
is_async(opts) = haskey(opts, :async) ? opts[:async] : default_async
function Window(a::Shell, content::Page, opts::Associative = Dict())
url = Blink.localurl(content)
is_async(opts) = get(opts, :async, false)
callback = !is_async(opts)
if callback
id, cond = Blink.callback!()
Expand Down

0 comments on commit 23767d9

Please sign in to comment.