bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js
function(type, visible) {
			if (typeof type === "object") {
				this._visibleAnnotationTypes = type;
			} else {
				if (!this._visibleAnnotationTypes) this._visibleAnnotationTypes = {};
				this._visibleAnnotationTypes[type] = visible;
			}
		}
function(type, visible) {
			if (typeof type === "object") {
				this._visibleAnnotationTypes = type;
			} else {
				if (!this._visibleAnnotationTypes) this._visibleAnnotationTypes = {};
				this._visibleAnnotationTypes[type] = visible;
			}
		}
function ( type , visible ) { if ( typeof type === "object" ) { this . _visibleAnnotationTypes = type ; } else { if ( ! this . _visibleAnnotationTypes ) this . _visibleAnnotationTypes = { } ; this . _visibleAnnotationTypes [ type ] = visible ; } }
Sets whether annotations of the given annotation type are visble. By default
all annotations added to the receiver are visible.

@param {Object} type
@param {Boolean} visible
@since 14.0
Sets whether annotations of the given annotation type are visble . By default all annotations added to the receiver are visible .