GumbyFramework/ResponsiveImages — pull request #3 by micschk (2014-05-30 07:43:45+00:00)
Title: Preventing supports tests from being wrapped in ()

The shorthand method is called on all tests, this.supports as well as this.media. Only this.media testst should be wrapped in () by the shorthand method. Including an extra test for 'width' being present in the tested string prevents supports tests from begin wrapped into e.d. '(webp)', and thus causing false negatives.

(now on develop branch instead of earlier pull request on master)