[#88,view/refactor][s]: start on state management and serialization with getState function on Explorer.

This commit is contained in:
Rufus Pollock
2012-04-14 11:42:02 +01:00
parent 05293cbb6f
commit 77414ff9ca
2 changed files with 28 additions and 1 deletions

View File

@@ -23,7 +23,9 @@ test('getState', function () {
model: dataset,
el: $el
});
// explorer.getState();
var state = explorer.getState();
ok(state.queryState);
equal(state.queryState.size, 100);
$el.remove();
});