backbone.js - marionette example not working -
I have HTML, JS code on codepay:
I have started learning Marianette JS. Either way this simple example is not working
throws this error: Unkit type error: there is no undefined function
How to solve it?
Your problem is in these lines:
ContactManager.reqres setholder ("Contact: Institutions", function () {return API.getContactEntities;});
You must type API.getContactEntities ()
otherwise you are returning the function reference instead of the collection of your contacts. This causes undefined error.
See:
Comments
Post a Comment