Move jsdoc constructor comments

This commit is contained in:
Frederic Junod
2018-07-17 09:59:00 +02:00
parent 384920734f
commit f2d0b11d24
42 changed files with 369 additions and 334 deletions
+6 -5
View File
@@ -6,19 +6,20 @@ import {FRAGMENT_SHADER} from '../webgl.js';
import WebGLShader from '../webgl/Shader.js';
/**
* @constructor
* @extends {module:ol/webgl/Shader}
* @param {string} source Source.
* @struct
*/
class WebGLFragment {
/**
* @param {string} source Source.
*/
constructor(source) {
WebGLShader.call(this, source);
}
/**
* @inheritDoc
*/
* @inheritDoc
*/
getType() {
return FRAGMENT_SHADER;
}