Permalink
Browse files

Fix erroneous kin.get info

  • Loading branch information...
1 parent 4070cd5 commit 988d0d40b6f78c4bc990eb75eac3e7fc7319541a @timoxley timoxley committed Dec 16, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +2 −2 tests/examples/kin-examples.js
View
@@ -343,11 +343,11 @@ manually `require` every model in your system.
If you want to reference another property from within a generator, use
-`kin.get('someProperty')`.
+`Kin.get(this, 'someProperty')`.
Because we 'simultaneously' execute each generator function, there's no
guarantee that the generator will have run by the time we're referencing it
-within another property generator. `kin.get` ensures the property's generator
+within another property generator. `Kin.get` ensures the property's generator
has returned a value.
@@ -262,11 +262,11 @@ kin.generate('User', function(err, user) {
//
// If you want to reference another property from within a generator,
-// use `kin.get('someProperty')`.
+// use `Kin.get(this, 'someProperty')`.
//
// Because we 'simultaneously' execute each generator function, there's no guarantee that the generator
// will have run by the time we're referencing it within another property generator.
-// `kin.get` ensures the property's generator has returned a value.
+// `Kin.get` ensures the property's generator has returned a value.
// ## Hidden or Meta properties

0 comments on commit 988d0d4

Please sign in to comment.