[xs] Bug fix: dataset is already defined.
This commit is contained in:
@@ -27,7 +27,7 @@ jQuery(function($) {
|
|||||||
);
|
);
|
||||||
dataset = new recline.Model.Dataset(datasetInfo);
|
dataset = new recline.Model.Dataset(datasetInfo);
|
||||||
} else {
|
} else {
|
||||||
var dataset = new recline.Model.Dataset({
|
dataset = new recline.Model.Dataset({
|
||||||
records: [
|
records: [
|
||||||
{id: 0, date: '2011-01-01', x: 1, y: 2, z: 3, country: 'DE', title: 'first', lat:52.56, lon:13.40},
|
{id: 0, date: '2011-01-01', x: 1, y: 2, z: 3, country: 'DE', title: 'first', lat:52.56, lon:13.40},
|
||||||
{id: 1, date: '2011-02-02', x: 2, y: 4, z: 24, country: 'UK', title: 'second', lat:54.97, lon:-1.60},
|
{id: 1, date: '2011-02-02', x: 2, y: 4, z: 24, country: 'UK', title: 'second', lat:54.97, lon:-1.60},
|
||||||
|
|||||||
Reference in New Issue
Block a user