1
0
Fork 0
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:
Nando Vieira 2022-01-05 17:52:05 -08:00
parent 110eeabf5c
commit a75cf1f1f0
No known key found for this signature in database
GPG key ID: 3CCA7660400A9FA8

View file

@ -1,6 +1,8 @@
import { start } from "./ujs" import { start } from "./ujs"
import { DirectUpload } from "./direct_upload" 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() { function autostart() {
if (window.ActiveStorage) { if (window.ActiveStorage) {