Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move dispatch helper from context to controller #432

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

adrienpoly
Copy link
Member

fix #431

This feature had no tests linked to it, this is only a patch. Once we get the test suite back on track (#421) I can try to add something simple to ensure it remains functional.

@dhh
Copy link
Member

dhh commented Aug 31, 2021

#421 hasn't been merged to main yet, so feel free to get a test added here!

@dhh dhh merged commit b605348 into hotwired:main Sep 1, 2021
dhh added a commit that referenced this pull request Sep 1, 2021
Move dispatch helper from context to controller
dhh added a commit that referenced this pull request Sep 2, 2021
* Move to a single package that targets ES2017 and ESM only

* include tests again

* cleanup

* reorg `src/tests/` folder

* adjustments to build and test setup

* Produce UMD format for those still not on ESM

It's easy enough to do, so no reason as yet not to.

* Use mode recent node

* No need for TS on this redirection package

* Prepare the redirection package

But now I have second thoughts as to whether it's a good idea in any case.

* Only include dist packages + types

* Update all imports to the new package

* Update old reference

* Fix yalc reference

* Update which files are included in the package

* Update copyright dates

* build project to es5 to able to run it with karma

* Merge pull request #432 from adrienpoly/fix-dispatch

Move dispatch helper from context to controller

* fix fixtures paths for use with karma

* fix `webpack-helpers` test

* don't specify karma plugins explictly

* freshen karma browser list

* Fix yarn lock

Co-authored-by: Marco Roth <marco.roth@intergga.ch>
@adrienpoly adrienpoly deleted the fix-dispatch branch September 2, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

dispatch function does not work in Stimulus v3.0.0-beta.1
2 participants