Permalink
Switch branches/tags
Nothing to show
Commits on Aug 5, 2016
  1. Merge pull request #2 from greggman/bad-practices

    paulirish committed on GitHub Aug 5, 2016
    remove bad practices
Commits on Feb 23, 2014
  1. remove bad practices

    greggman committed Feb 23, 2014
    1.  never lookup location in the rendering loop.
    
        Looking up locations is slow.
    
    2.  adjust canvas backstore to match size of canvas, not size of window.
    
        This means you can use the same code regardless of situation. Just
        setup your CSS how ever you want. If your canvas is inside some other
        container or it's set to 50% or whatever it will do the right
        thing.
Commits on Apr 2, 2011
  1. readme.

    paulirish committed Apr 2, 2011