0.2.3 • Published 8 years ago

bespoke-history v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

bespoke-history

Bespoke.js window.history based URL router

Works in similar way as bespoke-hash but uses window.history instead

Usage

var history = require('bespoke-history');
bespoke.from(selector, [
  history()
]);

By default it will route urls against /, but you can customize root path:

bespoke.from(selector, [
  history('/my-custom-root/')
]);

Installation

npm

In your presentation path:

$ npm install bespoke-history
0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago