AnalyticalGraphicsInc/cesium — pull request #1945 by hpinkos (2014-07-21 21:05:52+00:00)
Title: Model throw glTF file load error

In `Model`, a `RuntimeError` is thrown if a buffer, shader or image or other resource doesn't load. This change makes a failure to load the glTF file throw an error as well.

I also changed the error handling to use `.otherwise` instead of the second argument for `then`.