Update CONTRIBUTING style guide with recent guidelines

This commit is contained in:
Bart van den Eijnden
2015-01-16 09:49:58 +01:00
parent 1033171ff0
commit 4f4d12024b

View File

@@ -239,6 +239,14 @@ style of the existing OpenLayers 3 code, which includes:
* Do not use assignments inside expressions.
* Avoid the use of `goog.array.clone` with arrays (use slice instead).
* Use `array.length = 0` instead of `goog.array.clear`.
* Use bracket notation instead of `goog.object.set` and `goog.object.get` (with
two arguments).
* Use uppercase for `@const` variables.
### Pass the integration tests run automatically by the Travis CI system