this.scope undefined in Router.prototype.on (1.1.6) #158

Closed
sjmiles opened this Issue Nov 2, 2012 · 2 comments

3 participants

@sjmiles

I attempted to implement this code cribbed from the README (client-side) and got the error above.

I couldn't find any other reference to 'scope' anywhere in the code, so it seemed like a bug? Sorry if I'm blowing it.

var router = new Router().init();

router.on('/some/resource', function () {
//
// Do something on /#/some/resource
//
});

@aaronshaf

Same problem here

@pksunkara

Refer #164

@pksunkara pksunkara closed this Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment