Disable no-missing-requires rule in generated shader code

This commit is contained in:
Tim Schaub
2017-05-02 10:54:17 -06:00
parent 3f973e6fa3
commit 479d98212b
13 changed files with 19 additions and 12 deletions
+2 -2
View File
@@ -204,8 +204,8 @@ if (ol.ENABLE_WEBGL) {
// get the locations
var locations;
if (!this.defaultLocations_) {
locations =
new ol.render.webgl.circlereplay.defaultshader.Locations(gl, program);
// eslint-disable-next-line openlayers-internal/no-missing-requires
locations = new ol.render.webgl.circlereplay.defaultshader.Locations(gl, program);
this.defaultLocations_ = locations;
} else {
locations = this.defaultLocations_;
@@ -1,4 +1,5 @@
// This file is automatically generated, do not edit
/* eslint openlayers-internal/no-missing-requires: 0 */
goog.provide('ol.render.webgl.circlereplay.defaultshader');
goog.require('ol');
+2 -2
View File
@@ -377,8 +377,8 @@ if (ol.ENABLE_WEBGL) {
// get the locations
var locations;
if (!this.defaultLocations_) {
locations =
new ol.render.webgl.imagereplay.defaultshader.Locations(gl, program);
// eslint-disable-next-line openlayers-internal/no-missing-requires
locations = new ol.render.webgl.imagereplay.defaultshader.Locations(gl, program);
this.defaultLocations_ = locations;
} else {
locations = this.defaultLocations_;
@@ -1,4 +1,5 @@
// This file is automatically generated, do not edit
/* eslint openlayers-internal/no-missing-requires: 0 */
goog.provide('ol.render.webgl.imagereplay.defaultshader');
goog.require('ol');
+2 -2
View File
@@ -446,8 +446,8 @@ if (ol.ENABLE_WEBGL) {
// get the locations
var locations;
if (!this.defaultLocations_) {
locations =
new ol.render.webgl.linestringreplay.defaultshader.Locations(gl, program);
// eslint-disable-next-line openlayers-internal/no-missing-requires
locations = new ol.render.webgl.linestringreplay.defaultshader.Locations(gl, program);
this.defaultLocations_ = locations;
} else {
locations = this.defaultLocations_;
@@ -1,4 +1,5 @@
// This file is automatically generated, do not edit
/* eslint openlayers-internal/no-missing-requires: 0 */
goog.provide('ol.render.webgl.linestringreplay.defaultshader');
goog.require('ol');
+2 -2
View File
@@ -833,8 +833,8 @@ if (ol.ENABLE_WEBGL) {
// get the locations
var locations;
if (!this.defaultLocations_) {
locations =
new ol.render.webgl.polygonreplay.defaultshader.Locations(gl, program);
// eslint-disable-next-line openlayers-internal/no-missing-requires
locations = new ol.render.webgl.polygonreplay.defaultshader.Locations(gl, program);
this.defaultLocations_ = locations;
} else {
locations = this.defaultLocations_;
@@ -1,4 +1,5 @@
// This file is automatically generated, do not edit
/* eslint openlayers-internal/no-missing-requires: 0 */
goog.provide('ol.render.webgl.polygonreplay.defaultshader');
goog.require('ol');