Comments (4)
I think the solution here is to include modernizr before aight in your document. Does that work for you?
from aight.
Assuming this works as expected when you include Modernizr before aight.
from aight.
Sorry about not getting back to you. Works and I agree it's the easiest solution.
Initially caused some headache because I had ie8.js (shims, aight)
, vendor.js (d3, modernizer)
+ main.js (depends on vendor libs)
but ended up changing it to vendor.js
, main.js
+ lazy loaded viz.js (d3)
|| viz_ie8.js (aight + d3)
for performance reason (helped a lot across the board in ie8 - not having aight patches when loading vendor - jquery, lodash, backbone and foundation - into memory).
from aight.
Yeah, I've taken a similar approach, and found that it's often much simpler to have an IE8-specific, dumbed-down version of the thing I'm building to work on separately. Thanks for getting back to me!
from aight.
Related Issues (20)
- d3.v2 loads but not d3.v3 HOT 10
- IE8 error on DispHTMLDocument.createElementNS HOT 4
- jQuery.parseHTML breaks in IE8 with aight HOT 6
- Is the script type attribute necessary? HOT 1
- More unit tests! HOT 2
- Bump version in js/aight.js
- Non standard / breaking polyfills HOT 2
- Test for getComputedStyle is broken in browsers that implement the current Web IDL specification HOT 8
- setProperty() is not working for some rules HOT 2
- Make a real website
- Docs: note that jQuery needs to be included before aight
- Include Respond.js HOT 6
- Make the build process friendlier HOT 3
- Include History API pollyfill?
- In the IE8 createElementNS dosen't work, is there other better solution? HOT 1
- Aight CLI bug HOT 3
- Upgrade es5-shim
- IE8 standard popup "Are you sure you want to leave this page?"
- test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aight.