Departments in Javascript scopes
Bogdan Cuza
bogdan.cuza at hotmail.com
Sat Feb 20 18:35:24 UTC 2016
Hi!
I am trying to create a department like this: var dep = new scopes.lib.Department(category.id, canned_query, category.name); but I'm getting "Error: Expected an object". I think the problem is that I am trying to do this dynamically, I am doing this in a callback to my fetching function and it seems to be working fine outside of it.How could I fix this and why (if I am right about the situation) is it saying "expected an object"?
Thanks,Bogdan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-app-devel/attachments/20160221/8d58a4ad/attachment.html>
More information about the Ubuntu-app-devel
mailing list