Skip to content

Commit

Permalink
remove unnecessary isdefined condition (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Vertechi authored Aug 18, 2018
1 parent e815ed4 commit eab11fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Observables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ module Observables

export Observable, on, off, onany, connect!, obsid, async_latest, throttle

if isdefined(Base, :Iterators) && isdefined(Base.Iterators, :filter)
import Base.Iterators.filter
else
import Base.filter
end
import Base.Iterators.filter

const addhandler_callbacks = []
const removehandler_callbacks = []
Expand Down

0 comments on commit eab11fc

Please sign in to comment.