Giter Club home page Giter Club logo

Comments (9)

WebReflection avatar WebReflection commented on June 8, 2024

is that CoffeeScript?

from ie8.

WebReflection avatar WebReflection commented on June 8, 2024

Regardless, can you please provide vanilla JS examples that doesn't work? Because events are tested and do work in IE8 .... without transpilers, of course.

from ie8.

neersighted avatar neersighted commented on June 8, 2024

This does not appear to work:

document.addEventListener("mousemove", function (event) {alert("move");});

While this does:

document.attachEvent("onmousemove", function (event) {alert("move");});

from ie8.

WebReflection avatar WebReflection commented on June 8, 2024

I'm pretty sure that code does works but I'll check again when I have some time which is probably never before the 7th. Events do work and are tested, so please try to be sure you are in a clean standard env.

from ie8.

neersighted avatar neersighted commented on June 8, 2024

I am using other event handling code with addEventListener just fine... mousemove is the only troublesome event.

from ie8.

WebReflection avatar WebReflection commented on June 8, 2024

Hey ... WTF (not to you, actually to me) that was indeed a very silly and concrete bug.

Thanks, I'm used to set events eventually to document.documentElement and rarely to the document itself, which is why I haven't spot this before.

Funny apparently also nobody else has spot this before ... how weird!

Please use 0.2.11 which fixes this problem, apologizes for my initial skepticism, I don;'t trust much transpiled JS when it comes to legacy support.

Hope this works and you can close this bug after checking.

Best Regards

from ie8.

WebReflection avatar WebReflection commented on June 8, 2024

P.S. I had time, it was an easy one to spot ... me => stupid ^_^

from ie8.

neersighted avatar neersighted commented on June 8, 2024

That fixed it, thanks!

On another notes, thanks a ton for IE8 and DOM4. It makes it actually possible to use modern code (and forget about having to support many methods of doing the same thing) when I have to support IE8 (game I code for embeds IE).

from ie8.

WebReflection avatar WebReflection commented on June 8, 2024

Just remember to test for real on real IE8 too and happy worry-free coding

from ie8.

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.