From c2987d333bcc8d3980b84fb63562cbad8f033380 Mon Sep 17 00:00:00 2001 From: javi Date: Tue, 26 Nov 2013 18:39:28 +0100 Subject: [PATCH] updated carto --- vendor/carto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/carto.js b/vendor/carto.js index 57255e8..717548f 100644 --- a/vendor/carto.js +++ b/vendor/carto.js @@ -4811,7 +4811,7 @@ tree.Value.prototype.toJS = function() { //var v = this.value[0].value[0]; var val = this.eval() 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 + "'"; } else if (val.is === 'field') { // replace [varuable] by ctx['variable']