Simplify the way we annotate observable properties
We no longer add observable annotations to the constructor. Instead, we just mark getters (and for read/write properties also setters) with an observable annotation.
This commit is contained in:
@@ -9,7 +9,10 @@ goog.require('ol.proj');
|
||||
|
||||
|
||||
/**
|
||||
* State of the source. `0` means 'loading', `1` means 'ready', and `2` means
|
||||
* 'error'.
|
||||
* @enum {number}
|
||||
* @todo api
|
||||
*/
|
||||
ol.source.State = {
|
||||
LOADING: 0,
|
||||
|
||||
Reference in New Issue
Block a user