From c13b2ed733cbb0b4d435d0c8eb9d647537a811e1 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Thu, 29 Aug 2013 09:50:05 -0700 Subject: [PATCH] Various changes to README --- meteor/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meteor/README.md b/meteor/README.md index 092eaf02f0..b2320b54fc 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -48,7 +48,7 @@ In order to call `Template.yourTemplateName.method`, you will need to create a s header: IMeteorViewModel; } -After you create this file, you may access the Template variable by declaring something like `/// ` at the top of any TypeScript file containing references to Template. Something like `Template.postsList.helpers()` would then transpile successfully (and have the benefits of typing). +After you create this file, you may access the Template variable by declaring something similar to `/// ` at the top of any TypeScript file containing references to Template. Something like `Template.postsList.helpers()` would then transpile successfully (and also have the benefits of typing). ##Defining Collections @@ -60,7 +60,7 @@ In TypeScript, global variables are not allowed, and in a Meteor app, creating a this.PostsModel = PostsModel; -You can then access the Posts collection by placing `/// ` at the top of a TypeScript file. The code would look like this: +You can then access the Posts collection by placing something similar to `/// ` at the top of a TypeScript file. The code within the file something would look something like this: PostsModel.Posts.findOne(Session.get('currentPostId'));