This commit is contained in:
Stuart Lynn 2015-09-09 11:14:06 -04:00
parent 73ed8bdfd7
commit 25d0fb77a5
4 changed files with 12 additions and 10 deletions

10
dist/torque.full.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3222,8 +3222,9 @@ var Profiler = require('../profiler');
var dates = row.dates__uint16;
var val_keys = Object.keys(row).filter(function(k){return (k.indexOf("vals__uint8") > -1) })
var val_arr = []
val_keys.forEach(function(key){
var i = key.match(/vals__uint8_(\d+)/)[1]
var i = (key=='vals_uint8' ? 0 : key.match(/vals__uint8_(\d+)/)[1])
val_arr[i] = row[key];
})
@ -3600,7 +3601,7 @@ var Profiler = require('../profiler');
"layers": [{
"type": "cartodb",
"options": {
"cartocss_version": "2.1.1",
"cartocss_version": "2.1.1",
"cartocss": "#layer {}",
"sql": this.getSQL()
}

2
dist/torque.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3229,8 +3229,9 @@ var Profiler = require('../profiler');
var dates = row.dates__uint16;
var val_keys = Object.keys(row).filter(function(k){return (k.indexOf("vals__uint8") > -1) })
var val_arr = []
val_keys.forEach(function(key){
var i = key.match(/vals__uint8_(\d+)/)[1]
var i = (key=='vals_uint8' ? 0 : key.match(/vals__uint8_(\d+)/)[1])
val_arr[i] = row[key];
})
@ -3607,7 +3608,7 @@ var Profiler = require('../profiler');
"layers": [{
"type": "cartodb",
"options": {
"cartocss_version": "2.1.1",
"cartocss_version": "2.1.1",
"cartocss": "#layer {}",
"sql": this.getSQL()
}