Coder Social home page Coder Social logo

incompatible with modernizr about aight HOT 4 CLOSED

shawnbot avatar shawnbot commented on August 26, 2024
incompatible with modernizr

from aight.

Comments (4)

shawnbot avatar shawnbot commented on August 26, 2024

I think the solution here is to include modernizr before aight in your document. Does that work for you?

from aight.

shawnbot avatar shawnbot commented on August 26, 2024

Assuming this works as expected when you include Modernizr before aight.

from aight.

tpreusse avatar tpreusse commented on August 26, 2024

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.

shawnbot avatar shawnbot commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.