scottjehl/picturefill — pull request #24 by lkrids (2012-06-21 14:50:55+00:00)
Title: unnecessary pull 

There is no need to assign picImg outside of the if branch.

Somewhere between https://github.com/scottjehl/picturefill/commit/5cfe8c7ceeed402b77069e5ba6e2abdfa641c6f7 and https://github.com/scottjehl/picturefill/commit/c839311a457f81675d33a0faa5d02153fd4778bc the second else if was removed, but it doesn't show up in the diff. I had checked out and submitted a patch for the https://github.com/scottjehl/picturefill/commit/c839311a457f81675d33a0faa5d02153fd4778bc version, the current version at the time. The better fix is to remove the second else if and it seems like it was there in the first place because of a bad merge.