Giter Club home page Giter Club logo

Comments (2)

caleb531 avatar caleb531 commented on June 23, 2024

Hmm, I do not experience the issue on Chrome (for the first canvas, at least), but I do animation does fail on the second canvas (this was tested in my local jCanvas sandbox).

Also note that the version of jCanvas in the online sandbox may be older than the latest commit on GitHub. This is because some older browsers don't receive the script as text/javascript, so I have to manually update the jCanvas script on my server.

Additionally, I have noticed that, ever since jCanvas 1.8 was released, these jCanvas bugs have been occurring. I have reason to believe this because jQuery 1.8 introduced automatic vendor-prefixing of some CSS properties for browsers that desire it, such as the opacity CSS property. Therefore, I am still trying to jump through hoops in avoiding the prefixing of these properties.

It seems that when jQuery tries to prefix these properties, it checks to see if the CSS property exists using the getComputedStyle function. Unfortunately, because I am dealing with objects in jCanvas, not elements, the check obviously throws an error.

ANYWAY, I have pushed a new commit just now (0ac565e), which should fix the above issue for both canvases. Let me know what you find.

-Caleb

from jcanvas.

dksmiffs avatar dksmiffs commented on June 23, 2024

Thanks, Caleb. All my unit tests are now working again with that fix on both FF and Chromium-derived.

from jcanvas.

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.