Open mikermcneil opened 11 years ago
this is done in 2.x, right @ghernandez345? However I believe it only works for #
routes, not %
events
@ghernandez345 do you remember if there was a reason to have it only work for # events?
not that I can remember.
works with this form.
'#home/:page': function(page) {console.log(page);}
not sure what @selected=
is for.
Can you try it with %?
Mike's phone
On Aug 28, 2013, at 12:42, Gabe Hernandez notifications@github.com wrote:
works with this form.
'#home/:page': function(page) {console.log(page);} not sure what @selected= is for.
— Reply to this email directly or view it on GitHub.
Just for the record, there is indeed weird behavior with %
+ :
... This must have been intentional, but in retrospect, I was being dumb.
Not sure if we fixed this yet or not, but if it's still an issue I'll fix @ghernandez345 @sgress454 @particlebanana
You still can't use :
in event names, it sees them as function arguments.
e.g.