Add @struct annotation for simple classes

This commit is contained in:
Tom Payne
2013-12-04 15:44:03 +01:00
parent 2bcfa9ee00
commit fbc23499e4
19 changed files with 31 additions and 0 deletions
+3
View File
@@ -9,6 +9,7 @@ goog.require('ol.webgl');
/**
* @constructor
* @param {string} source Source.
* @struct
*/
ol.webgl.Shader = function(source) {
@@ -46,6 +47,7 @@ ol.webgl.Shader.prototype.isAnimated = goog.functions.FALSE;
* @constructor
* @extends {ol.webgl.Shader}
* @param {string} source Source.
* @struct
*/
ol.webgl.shader.Fragment = function(source) {
goog.base(this, source);
@@ -66,6 +68,7 @@ ol.webgl.shader.Fragment.prototype.getType = function() {
* @constructor
* @extends {ol.webgl.Shader}
* @param {string} source Source.
* @struct
*/
ol.webgl.shader.Vertex = function(source) {
goog.base(this, source);