From 93d4b840805fac3251d11ceb74ccb25eb85137d1 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Thu, 15 Mar 2012 00:47:32 +0000 Subject: [PATCH] [doc][s]: minor correction to model docs. --- docs/model.html | 11 +++++------ src/model.js | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/model.html b/docs/model.html index ae7bcb5c..3c926946 100644 --- a/docs/model.html +++ b/docs/model.html @@ -3,15 +3,14 @@ (function($, my) {

A Dataset model

-

A model must have the following (Backbone) attributes:

+

A model has the following (non-Backbone) attributes:

my.Dataset = Backbone.Model.extend({
   __type__: 'Dataset',
   initialize: function(model, backend) {
diff --git a/src/model.js b/src/model.js
index 4f5f5ed7..207a9872 100644
--- a/src/model.js
+++ b/src/model.js
@@ -6,14 +6,13 @@ this.recline.Model = this.recline.Model || {};
 
 // ## A Dataset model
 //
-// A model must have the following (Backbone) attributes:
+// A model has the following (non-Backbone) attributes:
 //
 // * fields: (aka columns) is a FieldList listing all the fields on this
-//   Dataset (this can be set explicitly, or, on fetch() of Dataset
-//   information from the backend, or as is perhaps most common on the first
-//   query)
-// * currentDocuments: a DocumentList containing the Documents we have currently loaded for viewing (you update currentDocuments by calling getRows)
-// * docCount: total number of documents in this dataset (obtained on a fetch for this Dataset)
+//   Dataset (this can be set explicitly, or, will be set by Dataset.fetch() or Dataset.query()
+// * currentDocuments: a DocumentList containing the Documents we have
+//   currently loaded for viewing (you update currentDocuments by calling query)
+// * docCount: total number of documents in this dataset
 my.Dataset = Backbone.Model.extend({
   __type__: 'Dataset',
   initialize: function(model, backend) {