Perhaps there's a syntax issue in a preceding line code?
Why am I getting invalid left hand assignment when using Blaze with Meteor?
-
28-06-2023 - |
Frage
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
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow