Skip to content

Commit

Permalink
Module config to always register channels
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Jan 10, 2024
1 parent 3bec4ed commit 4e8b33b
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Stipple"
uuid = "4acbeb90-81a0-11ea-1966-bdaff8155998"
authors = ["Adrian <e@essenciary.com>"]
version = "0.27.29"
version = "0.27.30"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
3 changes: 2 additions & 1 deletion src/Stipple.jl
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ existing Vue.js libraries.
module Stipple

const PRECOMPILE = Ref(false)
const ALWAYS_REGISTER_CHANNELS = Ref(false)

"""
@using_except(expr)
@@ -444,7 +445,7 @@ function init(t::Type{M};
debounce::Int = JS_DEBOUNCE_TIME,
transport::Module = Genie.WebChannels,
core_theme::Bool = true,
always_register_channels::Bool = false)::M where {M<:ReactiveModel, S<:AbstractString}
always_register_channels::Bool = ALWAYS_REGISTER_CHANNELS[])::M where {M<:ReactiveModel, S<:AbstractString}

webtransport!(transport)
AM = get_abstract_type(M)

2 comments on commit 4e8b33b

@essenciary
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/98614

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.27.30 -m "<description of version>" 4e8b33b57fbec9ca1f072e123bf04376bd9bba77
git push origin v0.27.30

Please sign in to comment.