AnalyticalGraphicsInc/cesium — pull request #669 by vicb (2013-04-21 14:29:24+00:00)
Title: [CC-DRY] Use anonymous function where applicable

refs https://groups.google.com/d/msg/cesium-dev/nm-QWU5sppI/VeA4GmJtC6kJ

This PR replaces `var X = function X(){};` by `var X = function(params) {};`

The only reason why the old syntax could be usefull is when displaying a call stack (to see the function name rather than "anonymous function". I don't expect this this to be really frequent as modified functions are mainly constructor.

The benefit are:
- shorter / simpler code,
- consistency (both syntax were in use).