Skip to content

Commit

Permalink
fix #22
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed May 17, 2016
1 parent d9d4dff commit a4c17b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/require.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type Hook end
@init @guard begin
methods(require).mt.cache.sig = Tuple{typeof(require),Symbol,Hook}
function Base.require(mod::Symbol)
eval(:require)(mod, Requires.Hook())
Requires.loadmod(string(mod))
eval(:require)(mod, Main.Requires.Hook())
Main.Requires.loadmod(string(mod))
end
end

Expand Down

0 comments on commit a4c17b8

Please sign in to comment.