uses proper equality checks
This commit is contained in:
parent
d2a557acd9
commit
981e117731
@ -203,7 +203,7 @@ CartoCSS.prototype = {
|
||||
symbolizers: []
|
||||
});
|
||||
for(var u = 0; u<def.rules.length; u++){
|
||||
if(def.rules[u].name == "marker-file" || def.rules[u].name == "point-file"){
|
||||
if(def.rules[u].name === "marker-file" || def.rules[u].name === "point-file"){
|
||||
var value = def.rules[u].value.value[0].value[0].value.value;
|
||||
this.imageURLs.push(value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user