artpolikarpov/upyachka.js — pull request #2 by MaximDubrovin (2014-06-27 20:49:36+00:00)
Title: support for img attrs values with 'px' ending

If width and height img attributes set with 'px' ending then ratio is NaN and plugin fails. I added check if both width & height are valid values with 'px' ending. Then, in this case, plugin parses floats from these values to find the ratio later.