We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are a few minor code style inconsistencies:
function() {
vs
function(){
Template.notification.helpers({ notificationPostPath: function() { return Router.routes.postPage.path({_id: this.postId}); } })
throw new Meteor.Error(401, "You need to login to make comments"); ... throw new Meteor.Error(422, 'Please write some content');
this.route('postPage', { path: '/posts/:_id', waitOn: function() { return Meteor.subscribe('comments', this.params._id); }, data: function() { return Posts.findOne(this.params._id); } });
// Display the error to the user.
instead of:
// display the error to the user
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are a few minor code style inconsistencies:
Spaces in function declaration
vs
Missing semi-colons, e.g.
Single vs double quotes, e.g.
Single line functions vs multiple lines, e.g.
Also, it would be more readable if comments were complete sentences, e.g.
instead of:
The text was updated successfully, but these errors were encountered: