LTS compat ...

pull/353/head
Shuhei Kadowaki 2020-05-25 02:08:15 +09:00
parent 022bb216eb
commit 44ed8788d5
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ function __init__()
@require Gadfly = "c91e804a-d5a3-530f-b6f0-dfbca275c004" include("gadfly.jl")
end
# utilitity functions
@static @isdefined(isnothing) || begin
isnothing(::Any) = false
isnothing(::Nothing) = true

View File

@ -1,6 +1,8 @@
using Weave: parse_options, parse_markdown
@static @isdefined(hasproperty) || (hasproperty(x, s::Symbol) = s in propertynames(x))
@testset "`parse_options`" begin
# general