dist files

This commit is contained in:
javi 2013-07-31 16:53:38 +02:00
parent d7d49214cd
commit e32aeb9fbb

4
dist/carto.js vendored
View File

@ -3853,7 +3853,7 @@ tree.Reference = {
data: reference.version.latest data: reference.version.latest
}; };
tree.Reference.setReference = function(ref, version) { tree.Reference.set = function(ref, version) {
reference = ref; reference = ref;
tree.Reference.setVersion(version || 'latest'); tree.Reference.setVersion(version || 'latest');
}; };
@ -4756,7 +4756,7 @@ var tree = require('../tree');
tree.Value.prototype.toJS = function() { tree.Value.prototype.toJS = function() {
var v = this.value[0].value[0]; var v = this.value[0].value[0];
val = v.toString(); val = v.toString();
if(v.is === "color") { if(v.is === "color" || v.is === 'uri') {
val = "'" + val + "'"; val = "'" + val + "'";
} }
return "_value = " + val + ";"; return "_value = " + val + ";";