0.3.0 • Published 9 years ago

66 v0.3.0

Weekly downloads
73
License
Apache-2.0
Repository
github
Last release
9 years ago

66

Simple client-side router.

Install

Install 66 via NPM or Bower.

Usage

var Router = require('66'),
    rt = new Router();

rt.get('/', function(){
  // render the index page
});

rt.get('/post/:id', function(params) {
  // render post page
  // you can get at the id via `params.id`
});

// start listening for changes
rt.start();

// capture all <a> tag clicks
rt.captureAnchorTagClicks();
0.3.0

9 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

11 years ago

0.0.0

11 years ago