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:
Andreas Hocevar
2014-05-03 16:04:25 -04:00
parent 0f072c0ec1
commit 8ee9f7cb6a
18 changed files with 246 additions and 186 deletions
+1
View File
@@ -8,6 +8,7 @@ goog.require('ol.IView3D');
/**
* Interface for views.
* @interface
* @extends {goog.events.Listenable}
*/
ol.IView = function() {
};