aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/app/javascript/activestorage/index.js
blob: a340008fb9d87be5a80a45931ec16fcdeded7f75 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                              
import { start } from "./ujs"
import { DirectUpload } from "./direct_upload"
export { start, DirectUpload }

function autostart() {
  if (window.ActiveStorage) {
    start()
  }
}

setTimeout(autostart, 1)