Move oli.* stability notes to the corresponding ol.* symbol

This commit is contained in:
Andreas Hocevar
2014-05-22 16:01:35 +02:00
parent 2caa1139a1
commit 547334e211
9 changed files with 17 additions and 16 deletions
+3 -2
View File
@@ -8,14 +8,14 @@ These two files are special externs that belong to ol3, and this document explai
### Prevent class properties from being renamed
For events, we make properties available to the application. Other than methods, which can be made available by just marking them with the `@api` annotation, properties are exported using `oli.js`:
For events, we make properties available to the application. Other than methods, which can be made available by just marking them with the `@api` annotation directly where they are defined, properties need to be added to `oli.js` in addition:
```js
/** @interface */
oli.MapBrowserEvent;
/**
* @type {ol.Coordinate}
* @todo api
*/
oli.MapBrowserEvent.prototype.coordinate;
```
@@ -32,6 +32,7 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_frameState) {
/**
* @type {ol.Coordinate}
* @todo api
*/
this.coordinate = map.getEventCoordinate(this.originalEvent);