Do not document object literals as interfaces

Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
This commit is contained in:
Andreas Hocevar
2014-05-15 12:10:32 +02:00
parent e050c905e2
commit eb6a938062
21 changed files with 108 additions and 167 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ ol.MapEventType = {
* @extends {goog.events.Event}
* @param {string} type Event type.
* @param {ol.Map} map Map.
* @param {?oli.FrameState=} opt_frameState Frame state.
* @param {?olx.FrameState=} opt_frameState Frame state.
*/
ol.MapEvent = function(type, map, opt_frameState) {
@@ -41,7 +41,7 @@ ol.MapEvent = function(type, map, opt_frameState) {
this.map = map;
/**
* @type {?oli.FrameState}
* @type {?olx.FrameState}
*/
this.frameState = goog.isDef(opt_frameState) ? opt_frameState : null;