Giter Site home page Giter Site logo

Comments (5)

desandro avatar desandro commented on June 3, 2024

Thanks so much for going into depth about this. I'm sure others are running into this often and just haven't spoken up yet. Could I ask you to post your solution code for this problem?

from imagesloaded.

justinhillsjohnson avatar justinhillsjohnson commented on June 3, 2024

Hey guys, I'm also having an issue with cached images not firing the handler passed to .imagesLoaded(). We're also using a CDN but the asset path doesn't have a query parameter appended to it. Pull request #9 did not fix the problem. From experience, typeof elem === "undefined" is the same as elem === undefined.

I'll report back if I find a solve.

from imagesloaded.

justinhillsjohnson avatar justinhillsjohnson commented on June 3, 2024

If I eliminate the conditional @ line 43, then the script no longer fails in IE9. One thought I have is to pass in a 2nd optional parameter that can be used to enter into the conditional @ line 43. Something like if (this.complete == || typeof this.complete === "undefined" || purge) { ... }. Then, when I instantiate the plugin, I can pass the handler and purge == true || false. For example:

$('#id').imagesLoaded(handler, $(document.body).hasClass('ie9'));

from imagesloaded.

desandro avatar desandro commented on June 3, 2024

This should be resolved by #11

from imagesloaded.

justinhillsjohnson avatar justinhillsjohnson commented on June 3, 2024

Interesting, #11 didn't fix it my particular problem with images showing as broken in Win7 IE9. http://cl.ly/2l3R0H3z0W1p2x2l2Y26

It's highly likely this is a PEBKAC error, given that others have confirmed their IE9 problems are resolved.

from imagesloaded.

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.