hoodie-client
hoodie-client copied to clipboard
Add hoodie.task API
Should be something like
var Task = require('hoodie-client-task')
// ...
api.task = new Task(api.id, { url: '/hoodie/account/api' })
Just a question (I know nothing about this code), is there a reason you're defining Task, but not calling it? You call .task, but that's a different variable, right?
ohhh I made a mistake there, new Account should be new Task, thanks so much for asking :+1: I corrected it in my code above
hoodie.task API is out of scope for upcoming Hoodie Tent release