• chdorner's avatar
    Add our own simpler implementation of the page npm package · 8ae72ed6
    chdorner authored
    We don't need all the client-side routing part, we only need to be able
    to selectively run certain JavaScript code depending on which site the
    user is at the moment.
    This implementation is not as advanced as the one from the `page`
    package, or what is possible with the `url-pattern` package. But we
    don't need any fancy URL matching at the moment, once we do we can
    revisit and maybe introduce something like `url-pattern` instead of just
    a crude `document.location.pathname === path`.
    8ae72ed6
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...