Unable to unsubscribe queries #53

reneclaus opened this Issue Nov 16, 2012 · 1 comment

2 participants


When unsubscribing queries I get the error 'ReferenceError: queryJson is not defined'

The error is in unregisterSubscribe

I tried fixing the error, but the entire unsubscribe call chain is full of bugs (at least for queries) and I don't understand how it's supposed to work so I can't fix it.

To test this you can simply define any query and then run:

var q = model.query('row').all(); //my test query
model.subscribe(q, function(){});
model.unsubscribe(q, function(){});

No longer relevant in 0.5

@nateps nateps closed this Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment