diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..d77d3a0 --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,11 @@ +name: TagBot +on: + schedule: + - cron: 0 * * * * +jobs: + TagBot: + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Project.toml b/Project.toml index 31ed41f..69bc634 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Hyperscript" uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91" author = ["Yuri Vishnevsky "] -version = "0.0.3" +version = "0.0.4" [compat] julia = "1" diff --git a/src/Hyperscript.jl b/src/Hyperscript.jl index 10ca312..7e78464 100644 --- a/src/Hyperscript.jl +++ b/src/Hyperscript.jl @@ -108,14 +108,6 @@ attrs(x::Node) = Base.getfield(x, :attrs) children(x::Node) = Base.getfield(x, :children) context(x::Node) = Base.getfield(x, :context) -# Experimental concise node specification support -function Base.typed_hvcat(node::AbstractNode, rows::Tuple{Vararg{Int64}}, xs::Any...) - node(xs...) -end -Base.typed_hcat(node::AbstractNode, xs::Any...) = node(xs...) -Base.typed_vcat(node::AbstractNode, xs::Any...) = node(xs...) -Base.getindex(node::Union{AbstractNode, Type{<:AbstractNode}}, xs::Any...) = node(xs...) - function Base.:(==)(x::Node, y::Node) context(x) == context(y) && tag(x) == tag(y) && children(x) == children(y) && attrs(x) == attrs(y)