src/index.js
function routeTo(url) {
	let didRoute = false;
	for (let i=0; i<ROUTERS.length; i++) {
		if (ROUTERS[i].routeTo(url)===true) {
			didRoute = true;
		}
	}
	for (let i=subscribers.length; i--; ) {
		subscribers[i](url);
	}
	return didRoute;
}
function routeTo(url) {
	let didRoute = false;
	for (let i=0; i<ROUTERS.length; i++) {
		if (ROUTERS[i].routeTo(url)===true) {
			didRoute = true;
		}
	}
	for (let i=subscribers.length; i--; ) {
		subscribers[i](url);
	}
	return didRoute;
}
function routeTo ( url ) { let didRoute = false ; for ( let i = 0 ; i < ROUTERS . length ; i ++ ) { if ( ROUTERS [ i ] . routeTo ( url ) === true ) { didRoute = true ; } } for ( let i = subscribers . length ; i -- ; ) { subscribers [ i ] ( url ) ; } return didRoute ; }
Tell all router instances to handle the given URL.
Tell all router instances to handle the given URL .