Skip to content

Commit

Permalink
document was mistakenly a reference to the env.js document that has n…
Browse files Browse the repository at this point in the history
…ow been removed
  • Loading branch information
Nathan authored and Nathan committed Sep 23, 2009
1 parent b073c1e commit 93faa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/couchdb/design_document.js
Expand Up @@ -78,7 +78,7 @@ function DesignDocument(fn){
} }


this.toDocument = function(){ this.toDocument = function(){
if (document._id == undefined) throw new Error("Id must be specified before toDocument is valid"); if (this.document._id == undefined) throw new Error("Id must be specified before toDocument is valid");


return this.document; return this.document;
}; };
Expand Down

0 comments on commit 93faa28

Please sign in to comment.