mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 15:56:15 +01:00
* old @application.js@ from @app/assets/javascripts@ become @application-legacy.js@ in favour of @application.js@ provided by Stimulus * adds @importmap@ gem to handle JavaScript modules using logical names that map to versioned/digested files Stimulus will be used for new functionality and, over time, to migrate existing features from JQuery / JQuery UI. git-svn-id: https://svn.redmine.org/redmine/trunk@23697 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 lines
173 B
JavaScript
9 lines
173 B
JavaScript
import { Application } from '@hotwired/stimulus'
|
|
|
|
const application = Application.start()
|
|
|
|
application.debug = false
|
|
window.Stimulus = application
|
|
|
|
export { application }
|