From 68d8e97ece23a8c9d8f03614a06a302098da59d3 Mon Sep 17 00:00:00 2001 From: Olivier Lalonde Date: Wed, 3 Oct 2012 21:40:00 +0800 Subject: [PATCH 1/2] Fixed Javascript syntax error in example --- docs/index.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.jade b/docs/index.jade index 5fc7c5b43cf..b086f38ab87 100644 --- a/docs/index.jade +++ b/docs/index.jade @@ -70,7 +70,7 @@ html(lang='en') kittySchema.methods.speak = function () { var greeting = this.name ? 'Meow name is ' + this.name - : 'I don't have a name' + : 'I don\'t have a name' console.log(greeting); } From ebd38558414afb0b976f04874f2820fbf4c090fe Mon Sep 17 00:00:00 2001 From: Aaron Heckmann Date: Fri, 5 Oct 2012 07:48:43 -0700 Subject: [PATCH 2/2] docs; spelling --- docs/migration.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration.jade b/docs/migration.jade index 3fca606562a..59d32942754 100644 --- a/docs/migration.jade +++ b/docs/migration.jade @@ -256,7 +256,7 @@ block content h4#setterorder setter order :markdown - Values being set no longer cast until _after_ all setters have been applied. Previously the value returned from each setter was cast _before_ passing it on to the next setter. This changes allows more flexible processing of values in setters. See issue [#665](https://github.com/learnboost/mongoose/issues/665) and pull [#924](https://github.com/LearnBoost/mongoose/pull/924). + Values being set no longer cast until _after_ all setters have been applied. Previously the value returned from each setter was cast _before_ passing it on to the next setter. This change allows more flexible processing of values in setters. See issue [#665](https://github.com/learnboost/mongoose/issues/665) and pull [#924](https://github.com/LearnBoost/mongoose/pull/924). h3#subdocs Subdocuments :markdown