문제

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