JavaScript Canvas.DrawWindow implementation

I have implemented DrawWindow (HTML rendering) functionality in Canvas. It is essentially rendering HTML inside of the canvas tag without modifying the original DOM. This took a lot of trial and error, but it is working pretty well now. The code is online here: https://github.com/bgrins/DrawWindow, and a really minimal project page is here: DrawWindow demo.

Read more →

bindWithDelay jQuery Plugin - Now With Throttling

I decided to add in throttling functionality to the jquery bindWithDelay plugin. This is a nice feature that didn't require very many changes to the code (see the: diff).

Read more →

wordsolver.js

I was playing around with unscrambling words recently, and decided to implement a solver in JavaScript. I called it wordsolver.js.

Read more →

Safer JSONP

I read a nice write up on on JSON and JSONP by Angus Croll. He provided a sample implementation of a safe JSONP library.

Read more →

filereader.js - A Lightweight FileReader Wrapper

I am working on project that needs to read local files. This relies on the FileReader interface, and I couldn't find any JavaScript libraries to help out with common usage for this, so I made one.

Read more →