src/basis/router.js
function add(path, callback, context){
    var route = get({
      path: path,
      autocreate: true
    });

    route.callbacks_.push({
      cb_: callback,
      context: context,
      callback: typeof callback != 'function' ? callback || {} : {
        match: callback
      }
    });

    initSchedule.add(route);

    return route;
  }
function add(path, callback, context){
    var route = get({
      path: path,
      autocreate: true
    });

    route.callbacks_.push({
      cb_: callback,
      context: context,
      callback: typeof callback != 'function' ? callback || {} : {
        match: callback
      }
    });

    initSchedule.add(route);

    return route;
  }
function add ( path , callback , context ) { var route = get ( { path : path , autocreate : true } ) ; route . callbacks_ . push ( { cb_ : callback , context : context , callback : typeof callback != 'function' ? callback || { } : { match : callback } } ) ; initSchedule . add ( route ) ; return route ; }
Add path to be handled
Add path to be handled