Widgets inside layer options

This commit is contained in:
Raul Ochoa 2015-10-26 16:40:39 +01:00
parent 8b222914c5
commit 3a05d8c2e8
2 changed files with 14 additions and 14 deletions

View File

@ -33,13 +33,13 @@ describe('histograms', function() {
options: {
sql: 'select * from populated_places_simple_reduced',
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
cartocss_version: '2.3.0'
},
widgets: {
pop_max: {
type: 'histogram',
options: {
column: 'pop_max'
cartocss_version: '2.3.0',
widgets: {
pop_max: {
type: 'histogram',
options: {
column: 'pop_max'
}
}
}
}

View File

@ -33,13 +33,13 @@ describe('lists', function() {
options: {
sql: 'select * from test_table',
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
cartocss_version: '2.3.0'
},
widgets: {
names: {
type: 'list',
options: {
columns: ['name']
cartocss_version: '2.3.0',
widgets: {
names: {
type: 'list',
options: {
columns: ['name']
}
}
}
}