Skip to content

Commit f500292

Browse files
committed
Ugly hack doesn't work anyway
1 parent 02d369d commit f500292

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ext/UnitfulExt.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ import RecipesBase
99
import LaTeXStrings: LaTeXString
1010
import Latexify: latexify
1111

12-
# Very ugly hack for loading the Unitful + Latexify extension on old versions of Julia:
13-
if !isdefined(Base, :get_extension)
14-
using Requires
15-
function __init__()
16-
# @info "using Requires" unitfullatexifyext_fname isdefined(Base, :get_extension)
17-
unitfullatexifyext_fname = joinpath(dirname(dirname(pathof(Unitful))), "ext", "LatexifyExt.jl")
18-
@require Latexify="5c2747f8-3f33-11e9-0e5d-1d1b2b2a6f19" include(unitfullatexifyext_fname)
19-
end
20-
end
21-
2212
const MissingOrQuantity = Union{Missing, <:Quantity, <:LogScaled}
2313

2414
#==========

0 commit comments

Comments
 (0)