lib/router/index.js
function appendMethods(list, addition) {
  for (var i = 0; i < addition.length; i++) {
    var method = addition[i];
    if (list.indexOf(method) === -1) {
      list.push(method);
    }
  }
}
function appendMethods(list, addition) {
  for (var i = 0; i < addition.length; i++) {
    var method = addition[i];
    if (list.indexOf(method) === -1) {
      list.push(method);
    }
  }
}
function appendMethods ( list , addition ) { for ( var i = 0 ; i < addition . length ; i ++ ) { var method = addition [ i ] ; if ( list . indexOf ( method ) === - 1 ) { list . push ( method ) ; } } }
append methods to a list of methods
append methods to a list of methods