0

I copy all code from https://unpkg.com/filepond@4.4.12/dist/filepond.min.js and past into chrome console opened on this (StackOverflow) website(for example). I see in console FilePond object is created. I have an access.

enter image description here

But if I do the same on my website - filePond is not defined I have no idea what script on my website can broke FilePond initialization.

Alexufo
  • 1,723
  • 1
  • 15
  • 30
  • 2
    I'm not sure, maybe you're trying to access it before the file has loaded? Or you have loaded requirejs in which case FilePond exposes an AMD module. – Rik Aug 14 '19 at 06:08
  • I did not upload a file. Just copied text to console and check avalability of FilePond object. Yes, requirejs is using on my website. Is it mean I cant see FilePond object in window global vars? – Alexufo Aug 14 '19 at 09:11
  • 2
    Yes, you'll have to require it as a module – Rik Aug 15 '19 at 06:07

0 Answers0