Skip to content

Commit 02c8362

Browse files
author
Guillaume Chau
authored
Remove useless code comments.
1 parent d8e1d92 commit 02c8362

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -180,43 +180,22 @@ new Vue({
180180
meteor: {
181181
// Subscriptions
182182
subscribe: {
183-
// We subscribe to the 'threads' publication
184183
'threads': []
185184
},
186185
// Threads list
187-
// This will update the 'threads' array property on the Vue instance
188-
// that we set in the data() hook earlier
189-
// You can use a function directly if you don't need
190-
// parameters coming from the Vue instance
191186
threads () {
192-
// Here you can use Meteor reactive sources
193-
// like cursors or reactive vars
194-
// as you would in a Blaze template helper
195-
// However, Vue reactive properties will not update
196187
return Threads.find({}, {
197188
sort: {date: -1}
198189
});
199190
},
200191
// Selected thread
201-
// This will update the 'selectedThread' object property on component
202192
selectedThread: {
203-
//// Vue Reactivity
204-
// We declare which params depends on reactive vue properties
205193
params () {
206-
// Here you can use Vue reactive properties
207-
// Don't use Meteor reactive sources!
208194
return {
209195
id: this.selectedThreadId
210196
};
211197
},
212-
//// Meteor Reactivity
213-
// This will be refresh each time above params changes from Vue
214-
// Then it calls Tracker.autorun() to refresh the result
215-
// each time a Meteor reactive source changes
216198
update ({id}) {
217-
// Here you can use Meteor reactive sources
218-
// like cursors or reactive vars
219-
// Don't use Vue reactive properties!
220199
return Threads.findOne(id);
221200
},
222201
},

0 commit comments

Comments
 (0)