fix: lint
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
fd2ffacb7c
commit
4549b27d4e
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ function start(opts) {
|
||||||
StyleSourceId;
|
StyleSourceId;
|
||||||
if (isValidHttpUrl(StyleSourceId)) {
|
if (isValidHttpUrl(StyleSourceId)) {
|
||||||
id =
|
id =
|
||||||
fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1');
|
fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1');
|
||||||
}
|
}
|
||||||
while (data[id]) id += '_'; //if the data source id already exists, add a "_" untill it doesn't
|
while (data[id]) id += '_'; //if the data source id already exists, add a "_" untill it doesn't
|
||||||
//Add the new data source to the data array.
|
//Add the new data source to the data array.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue