openlayers/openlayers — pull request #387 by marcjansen (2012-04-03 19:46:27+00:00)
Title: Code style changes in LinearRing::getCentroid()

Mainly:

* Not too many var declarations
* line-length
* single return statement

Also added an identity check when compairing to the number 0.

This is mostly cosmetic follow-up to #361.

Relevant tests continue to pass in IE 6, FF 11 and the ancient Chrome 11.

Please review.