Div embedding does not work in Safari or Firefox?

Hi,

I tried embedding Vaadin app using ‘div’ but I don’t know why it doesn’t work in Safari or in Firefox but it works perfectly in Chrome.

I am using Chrome 47.0.2526.106 (64-bit) (working)
I am trying Safari 9.0.2 (not working)
I am also trying in Firefox 43.0.4 ( not working)

I don’t know is it some kind of heartbeat problem?

There is probably a problem somewhere.

If you include some more details, like what your embedding code looks like or what (if any) errors there are in the browser console, it might be possible to come up with a better answer.

Thanks for your response Artur.

Sorry it was my fault. What I learned from this error was that –

Never declare some javascript resources in the UI like this
@JavaScript({“vaadin://js/example.js”})
and never forget to include or don’t include that resource in the src → main → webapps ->vaadin → js

It works like charm in all the major browsers. :slight_smile: