dashing-js icon indicating copy to clipboard operation
dashing-js copied to clipboard

Dashing does not work with IE9

Open arabold opened this issue 12 years ago • 8 comments

Not much to add to the description. There're a couple of issues with IE9 support - for example EventSource is not supported and requires a Polyfill, and the CSS seems to be broken and not working.

I'm working on a patch right now. This task is for tracking and notifying you about the efforts and progress.

arabold avatar Dec 13 '13 06:12 arabold

Yes, I never tested with IE because AFAIK it doesn't support Server-Sent Events and I can use chrome on my wall screen. Ok, thanks!

fabiocaseri avatar Dec 13 '13 16:12 fabiocaseri

I used https://github.com/Yaffle/EventSource/ polyfill to get the SSE working. CSS seem to be fine but no data seems to be displayed on the widgets. I'm also looking into this issue. @arabold any progress?

adrianlee avatar Dec 20 '13 00:12 adrianlee

That's basically as far as I came, too. But I'm trying to dig deeper into it today and can hopefully submit a pull-request soon.

arabold avatar Dec 20 '13 17:12 arabold

I got to familiarize myself with the IE dev tools. Do you have any idea if it's the dashing js or or batman?

adrianlee avatar Dec 20 '13 21:12 adrianlee

It doesn't load the html of the widgets. I'm digging through the code right now... somewhat hard for me to understand the logic as I'm new to most of the modules used.

arabold avatar Dec 20 '13 22:12 arabold

Okay, found it. this.constructor.name doesn't exist in IE and returns an undefined. This makes everything else fail badly. I'll submit a pull-request as soon as I got everything cleaned up again.

arabold avatar Dec 20 '13 22:12 arabold

Here you go: https://github.com/fabiocaseri/dashing-js/pull/15 -- probably you should test that yourself, @adrianlee.

arabold avatar Dec 20 '13 22:12 arabold

@fabiocaseri What about using socket.io for get this compatibility? (it seems great for something like a dashboard, but it may need to refactor some core parts of the project, too)

fjorgemota avatar Jan 16 '14 16:01 fjorgemota