mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Export other ActiveStorage JavaScript modules.
This commit is contained in:
parent
110eeabf5c
commit
a75cf1f1f0
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
import { start } from "./ujs"
|
||||
import { DirectUpload } from "./direct_upload"
|
||||
export { start, DirectUpload }
|
||||
import { DirectUploadController } from "./direct_upload_controller"
|
||||
import { DirectUploadsController } from "./direct_uploads_controller"
|
||||
export { start, DirectUpload, DirectUploadController, DirectUploadsController }
|
||||
|
||||
function autostart() {
|
||||
if (window.ActiveStorage) {
|
||||
|
|
Loading…
Reference in a new issue