imulus/retinajs — pull request #7 by robflaherty (2012-04-14 20:22:18+00:00)
Title: Keep track of checked/confirmed files to prevent redundant HEAD requests

This commit is in reference to issue #4. It stores checked and confirmed images so that only one AJAX request is made per image. As much as possible I tried to preserve the simplicity of the script. But it was necessary to decouple the AJAX business from the swap file business, which meant adding a swap_file function.