scaron/prettyphoto — pull request #119 by TeckniX (2013-03-15 20:55:31+00:00)
Title: Added conditional width

In early versions of jQuery the $(window).width() could return a 0 value.
This tries every combination of width detection to get a proper width value.
See:
http://bugs.jquery.com/ticket/12618