@@ -1,4 +1,4 @@
|
|||||||
goog.provide('layer clipping');
|
goog.provide('ol.test.rendering.layer.Clipping');
|
||||||
|
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
goog.require('ol.View');
|
goog.require('ol.View');
|
||||||
|
|||||||
@@ -157,6 +157,9 @@ module.exports = function(info, api) {
|
|||||||
throw new Error(`Multiple provides in ${info.path}`);
|
throw new Error(`Multiple provides in ${info.path}`);
|
||||||
}
|
}
|
||||||
provide = path.value.expression.arguments[0].value;
|
provide = path.value.expression.arguments[0].value;
|
||||||
|
if (provide.indexOf(' ') > -1) {
|
||||||
|
throw new Error(`Space in provide "${provide}" in ${info.path}`);
|
||||||
|
}
|
||||||
}).remove();
|
}).remove();
|
||||||
|
|
||||||
if (!provide) {
|
if (!provide) {
|
||||||
|
|||||||
Reference in New Issue
Block a user