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

Module active jobs #3957

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Module active jobs #3957

wants to merge 3 commits into from

Conversation

johrstrom
Copy link
Contributor

Fixes #3956 by importing active_jobs as a module. This means that jQuery (provided by application.js) is still available globally, but the functions/variables in active_jobs.js isn't.

This also provides a mechanism for minifying javascript in a development environment by supplying an environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

activejobs javascript error
2 participants