Use named exports from ol/index.js

This commit is contained in:
Tim Schaub
2017-12-12 10:24:58 -07:00
parent fce644556b
commit 87295a74dd
250 changed files with 874 additions and 887 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
// This file is automatically generated, do not edit
// Run `make shaders` to generate, and commit the result.
import _ol_ from '../../../index.js';
import {DEBUG_WEBGL} from '../../../index.js';
/**
* @constructor
@@ -16,7 +16,7 @@ import _ol_ from '../../../index.js';
* @type {WebGLUniformLocation}
*/
this.{{originalName}} = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/uniforms}}
{{#attributes}}
@@ -24,7 +24,7 @@ import _ol_ from '../../../index.js';
* @type {number}
*/
this.{{originalName}} = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/attributes}}
};