AnalyticalGraphicsInc/cesium — pull request #2048 by shunter (2014-08-11 19:38:30+00:00)
Title: Fix crash when material source uses Windows line endings.

* Also would crash if uniform declaration in source used extra spaces or tabs.

`indexOf` bad, regex good.