lib/director/router.js
function _flatten (arr) {
  var flat = [];

  for (var i = 0, n = arr.length; i < n; i++) {
    flat = flat.concat(arr[i]);
  }

  return flat;
}
function _flatten (arr) {
  var flat = [];

  for (var i = 0, n = arr.length; i < n; i++) {
    flat = flat.concat(arr[i]);
  }

  return flat;
}
function _flatten ( arr ) { var flat = [ ] ; for ( var i = 0 , n = arr . length ; i < n ; i ++ ) { flat = flat . concat ( arr [ i ] ) ; } return flat ; }
Helper function to turn flatten an array.
Helper function to turn flatten an array .