Closed pauldijou closed 10 years ago
Looks fine except for a small naming issue: Since the ! comes after the # it should be called postfix or suffix, not prefix :)
For me, the hash
is the whole stuff after the #
(here it is the full pathQuery). That's why you set location.hash = url;
. But now you can prefix it and the code clearly do that by inserting the option before the rest of the hash: location.hash = options.hashPrefix + url;
.
And some minor stuff...