[#88,refactor/state,api-change][m]: FlotGraph now uses state plus DataExplorer takes care of parsing state from Hash.

* First test for FlotGraph view (#45)
* Move convenience functions for testing present of elements to test/base.js from view-grid.test.js
This commit is contained in:
Rufus Pollock
2012-04-15 15:03:02 +01:00
parent 8f33235933
commit 4281801120
7 changed files with 82 additions and 57 deletions

View File

@@ -36,7 +36,10 @@ test('initialize state', function () {
var explorer = new recline.View.DataExplorer({
model: dataset,
state: {
readOnly: true
readOnly: true,
'view-grid': {
hiddenFields: ['x']
}
}
});
var state = explorer.getState();