#459 passing tests
This commit is contained in:
@@ -64,14 +64,12 @@ var createMultiView = function(dataset, state) {
|
||||
$el.appendTo(window.explorerDiv);
|
||||
|
||||
// customize the subviews for the MultiView
|
||||
var locale = 'en';
|
||||
var views = [
|
||||
{
|
||||
id: 'grid',
|
||||
label: 'Grid',
|
||||
view: new recline.View.SlickGrid({
|
||||
model: dataset,
|
||||
locale: locale,
|
||||
state: {
|
||||
gridOptions: {
|
||||
editable: true,
|
||||
@@ -95,16 +93,14 @@ var createMultiView = function(dataset, state) {
|
||||
id: 'graph',
|
||||
label: 'Graph',
|
||||
view: new recline.View.Graph({
|
||||
model: dataset,
|
||||
locale: locale
|
||||
model: dataset
|
||||
})
|
||||
},
|
||||
{
|
||||
id: 'map',
|
||||
label: 'Map',
|
||||
view: new recline.View.Map({
|
||||
model: dataset,
|
||||
locale: locale
|
||||
model: dataset
|
||||
})
|
||||
}
|
||||
];
|
||||
@@ -113,7 +109,6 @@ var createMultiView = function(dataset, state) {
|
||||
model: dataset,
|
||||
el: $el,
|
||||
state: state,
|
||||
locale: locale,
|
||||
views: views
|
||||
});
|
||||
return multiView;
|
||||
|
||||
Reference in New Issue
Block a user