rstacruz/sinatra-assetpack — pull request #125 by niallsmart (2013-07-14 22:34:55+00:00)
Title: Correctly handle empty list of engines in Tilt.mappings

The implementation of `AssetPack.tilt_formats` currently assumes there is always at least one engine registered for a given Tilt format, but that is not always the case (related: https://github.com/rtomayko/tilt/pull/206)

This patch skips over formats that don't have an engine instead of calling methods on `nil`.