Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2011
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    shim layer for bind()

    I have a script that runs a sprite animation on the canvas, adapted from here: http://www.kadrmasconcepts.com/blog/...-canvas-style/. After wondering why it wouldn't work on Safari or older versions of Firefox, I saw this: https://developer.mozilla.org/en/Jav.../Function/bind and implemented the suggested shim.

    However, I'm still getting some errors that I can't explain for the life of me. To make this easy for everyone, I threw it in a jsfiddle: http://jsfiddle.net/zachgold/AL3AQ/. Any help would be appreciated.

    Thanks!

    Zach

  • #2
    New Coder
    Join Date
    Jun 2011
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Anyone? This surely must be a common problem with those doing HTML5 stuff. I even put it in jsfiddle to make it super easy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •