I am trying out Meteor 0.8 version. I created client and server folders and in client folder I have controller.js where I removed the isClient if check. Now I have only

Template.view.modelitem = function() {
    return model.find({}, {sort: {ID: 1}});
};

I keep getting "Invalid left-hand side in assignment" error pointing to 'Template.view.modelitem' definition. Is there something I am doing wrong?

Thanks

有帮助吗?

解决方案

Perhaps there's a syntax issue in a preceding line code?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top