pastebin Available: paste.davidwalsh.name
Pasting code into the comments section of any blog is hell. The WMD editor does OK but it still strips out code indenting, comments, and so on. That will happen on my blog no longer! I've added a pastebin at the following address:
Instead of pasting your lengthy code directly into a comment, feel free to use my pastebin. If you'd like me to help you with some code that isn't working, use my pastebin. If you want to have others look at a chunk of your code, use my pastebin. If you created some really kick-ass ASCII art, you sure as hell better let me check it out at my pastebin.
Code chunks are saved forever by default so there will be no loss of code. Happy pasting!
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
If you're like me and lay awake in bed at night, you've flipped on the TV and seen the commercials: misguided, attention-starved college girls fueled by alcohol ruining their futures by flashing lame camera-men on Spring Break. Why do they do it? Attention...
Note: All credit for Fx.Explode goes to Jan Kassens.
One of the awesome pieces of code in MooTools Core Developer Jan Kassens' sandbox is his Fx.Explode functionality. When you click on any of the designated Fx.Explode elements, the elements "explode" off of the...