Open panthershark opened 10 years ago
Passing in a path is another option that @cappslock asked for as well. Passing in an options hash would be cool.
I am messing with using html5-history-api polyfill to support the hashbangs. This fixes some of the self.root issues that exist outside of that Vast project we were working on.
@tommydudebreaux, that sounds fantastic.
This is checked in and working in my projects. Before calling listen()
on the router, load the history poly.
Here is the gist using Modernizr or yepnope. Any script loading solution will work.
(Modernizr || yepnope).load([
{
test : Modernizr.history,
nope : '//cdnjs.cloudflare.com/ajax/libs/html5-history-api/4.0.2/history.iegte8.min.js'
}
]);
@tommydudebreaux, @lushchick and I are going to take a look at this today-ish. Are you planning to do a PR from your fork?
Once we get this working, yes I would like to. Before publishing to npm, I would like to pick off the rest of the tickets.
This is merged. Please post any issues here. Otherwise, I am bumping version and pushing it.
In older browsers, there are 2 options for navigate
Sometimes you just want #2 b/c it is simple. This ticket is to track allowing that.