mgood / js.d3

Fanstatic package for D3.js
0 stars 4 forks source link

Better IE8 compatibility #2

Open mgood opened 10 years ago

mgood commented 10 years ago

PR #1 included a patch to add a conditional comment to skip including D3 on IE8.

However, there are a few different approaches:

This package should allow for some of these approaches to IE8 compatibility.

davidjb commented 10 years ago

It would be good to have IE7-8 compatibility and Aight looks interesting. It's probably best that this packaging, like D3, doesn't specifically require a compatibility layer but that it's optional.

My thinking was to just have a separate Resource for requiring the compatibility layer a dependency. However, it's not possible at present under Fanstatic to have multiple Resource objects for the same backend file(s), short of duplicating the source files.

Is there an answer to this, or would Fanstatic have to change?