updated carto
This commit is contained in:
parent
c87e81971d
commit
c2987d333b
2
vendor/carto.js
vendored
2
vendor/carto.js
vendored
@ -4811,7 +4811,7 @@ tree.Value.prototype.toJS = function() {
|
|||||||
//var v = this.value[0].value[0];
|
//var v = this.value[0].value[0];
|
||||||
var val = this.eval()
|
var val = this.eval()
|
||||||
var v = val.toString();
|
var v = val.toString();
|
||||||
if(val.is === "color" || val.is === 'uri' || val.is === 'string') {
|
if(val.is === "color" || val.is === 'uri' || val.is === 'string' || val.is === 'keyword') {
|
||||||
v = "'" + v + "'";
|
v = "'" + v + "'";
|
||||||
} else if (val.is === 'field') {
|
} else if (val.is === 'field') {
|
||||||
// replace [varuable] by ctx['variable']
|
// replace [varuable] by ctx['variable']
|
||||||
|
Loading…
Reference in New Issue
Block a user