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

View File

@@ -4,31 +4,32 @@
import {FALSE} from '../functions.js';
/**
* @constructor
* @abstract
* @param {string} source Source.
* @struct
*/
class WebGLShader {
/**
* @param {string} source Source.
*/
constructor(source) {
/**
* @private
* @type {string}
*/
* @private
* @type {string}
*/
this.source_ = source;
}
/**
* @abstract
* @return {number} Type.
*/
* @abstract
* @return {number} Type.
*/
getType() {}
/**
* @return {string} Source.
*/
* @return {string} Source.
*/
getSource() {
return this.source_;
}