Remove unused code, get tests passing on Travis
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
goog.provide('{{namespace}}.Locations');
|
||||
|
||||
goog.require('ol');
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import _ol_ from '../../../index.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
@@ -10,14 +9,14 @@ goog.require('ol');
|
||||
* @param {WebGLProgram} program Program.
|
||||
* @struct
|
||||
*/
|
||||
{{namespace}}.Locations = function(gl, program) {
|
||||
{{namespace}}_Locations_ = function(gl, program) {
|
||||
{{#uniforms}}
|
||||
|
||||
/**
|
||||
* @type {WebGLUniformLocation}
|
||||
*/
|
||||
this.{{originalName}} = gl.getUniformLocation(
|
||||
program, ol.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
{{/uniforms}}
|
||||
{{#attributes}}
|
||||
|
||||
@@ -25,6 +24,8 @@ goog.require('ol');
|
||||
* @type {number}
|
||||
*/
|
||||
this.{{originalName}} = gl.getAttribLocation(
|
||||
program, ol.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
{{/attributes}}
|
||||
};
|
||||
|
||||
export default {{namespace}}_Locations_;
|
||||
|
||||
Reference in New Issue
Block a user