Skip to content

Instantly share code, notes, and snippets.

@mcescalante
Created February 24, 2015 00:43
Show Gist options
  • Save mcescalante/a5c03dbcd9530784e83f to your computer and use it in GitHub Desktop.
Save mcescalante/a5c03dbcd9530784e83f to your computer and use it in GitHub Desktop.
funny css file comment
/*
TODO: Rewrite this from scratch
TODO: Use this code as an example of how not to code:
- no comments
- nondescript var names
- inline html generation
- inline css generation
- not keeping a reference to DOM elements
- browser checks
- code quadruplication (I've never actually seen that before)
- vars initialized to arbitrary object references
- superfluous accessor methods
- timeout hacks
- docwrites!!!
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment