2700The lesser of two evils
- Dec 19, 2011CouchDB uses an attribute named _rev to identify document revisions.
var revision = doc["_rev"];
gets me: ['_rev'] is better written in dot notation.
var revision = doc._rev;
gets me: Unexpected dangling '_' in '_rev'.
Apparently I have no alternative but to specify either the 'sub'
option (first case) or the 'nomen' option (second case) to keep JSLint
So which is the lesser of the two evils? The descriptive name for the
'sub' option is "Tolerate inefficient subscripting". Is it actually
- Next post in topic >>