[#113,docs/tutorial][l]: tutorial-basics written giving introduction to dataset and associated functionality.

* Minor corrections to several other parts of docs.
This commit is contained in:
Rufus Pollock
2012-07-01 15:40:04 +01:00
parent a8b8c1a59a
commit 1dadc1106b
14 changed files with 301 additions and 93 deletions

View File

@@ -0,0 +1,13 @@
function onChange() {
$('.ex-events').append('Queried: ' + dataset.queryState.get('q') + '. Records matching: ' + dataset.recordCount);
$('.ex-events').append('<br />');
}
dataset.currentRecords.bind('reset', onChange);
dataset.query({q: 'DE'});
dataset.query({q: 'UK'});
dataset.query({q: 'US'});
dataset.unbind('reset', onChange);