remove descriptions from JSDoc type tags

This commit is contained in:
Jeff Williams
2013-03-21 09:54:52 -07:00
parent 2678c07caf
commit 97879a3572
10 changed files with 19 additions and 10 deletions

View File

@@ -12,7 +12,8 @@ ol.ASSUME_TOUCH = false;
*/
ol.BrowserFeature = {
/**
* @type {boolean} True if browser supports touch events
* True if browser supports touch events.
* @type {boolean}
*/
HAS_TOUCH: ol.ASSUME_TOUCH ||
(document && 'ontouchstart' in document.documentElement) ||

View File

@@ -5,8 +5,9 @@ goog.require('goog.dom.TagName');
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.canvas.SUPPORTED = (function() {
if (!('HTMLCanvasElement' in goog.global)) {

View File

@@ -109,8 +109,9 @@ ol.Geolocation.prototype.handleTrackingChanged_ = function() {
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.Geolocation.SUPPORTED = 'geolocation' in navigator;

View File

@@ -19,7 +19,8 @@ ol.ENABLE_PROJ4JS = true;
/**
* @const {boolean} Have Proj4js.
* Have Proj4js.
* @const {boolean}
*/
ol.HAVE_PROJ4JS = ol.ENABLE_PROJ4JS && typeof Proj4js == 'object';

View File

@@ -4,7 +4,8 @@ goog.require('ol.canvas');
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.renderer.canvas.SUPPORTED = ol.canvas.SUPPORTED;

View File

@@ -81,9 +81,9 @@ ol.renderer.canvas.VectorLayer = function(mapRenderer, layer) {
/**
* Geometry filters in rendering order.
* TODO: these will go away shortly (in favor of one call per symbolizer type)
* @private
* @type {Array.<ol.filter.Geometry>}
* TODO: these will go away shortly (in favor of one call per symbolizer type)
*/
this.geometryFilters_ = [
new ol.filter.Geometry(ol.geom.GeometryType.POINT),

View File

@@ -2,7 +2,8 @@ goog.provide('ol.renderer.dom.SUPPORTED');
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.renderer.dom.SUPPORTED = true;

View File

@@ -4,7 +4,8 @@ goog.require('ol.webgl');
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.renderer.webgl.SUPPORTED = ol.webgl.SUPPORTED;

View File

@@ -28,7 +28,8 @@ ol.TileCoord = function(z, x, y) {
goog.base(this, x, y);
/**
* @type {number} Zoom level
* Zoom level.
* @type {number}
*/
this.z = z;

View File

@@ -45,8 +45,9 @@ ol.webgl.getContext = function(canvas, opt_attributes) {
/**
* Is supported.
* @const
* @type {boolean} Is supported.
* @type {boolean}
*/
ol.webgl.SUPPORTED = (function() {
if (!('WebGLRenderingContext' in goog.global)) {