openlayers/ol3 — pull request #1800 by jachym (2014-03-04 12:01:45+00:00)
Title: setState never occures

Two changes for better parsing of non-existing input sources:

1 - use goog.isDefAndNotNull(source) in the condition (null is also considered as valid source now)
2 - call setState before goog.asserts.fail