0.2.5 • Published 7 years ago

bristlerouter v0.2.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

BristleRouter

Create single page applications with BristleJS. The BristleRouter function returns a Bristle object given a map of routes with Bristles as values.

Example

import Bristle from 'bristlejs';
import BristleRouter from 'bristlerouter';

var app = new Bristle({type:div,id:'app'},null,document.body);
var home = new Bristle('p','Welcome to the homepage.');
var help = new Bristle('p','Contact us at support@fakemail.com');
BristleRouter({'/':home,'/help':help}).appendTo(app);
0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago