bin/view.js
function getNextFile (files, type) {
  for (var i = 0; i < files.length; i++) {
    var file = files[i]
    if (/.ttl$/.test(file)) {
      continue
    }
    return file
  }
}
function getNextFile (files, type) {
  for (var i = 0; i < files.length; i++) {
    var file = files[i]
    if (/.ttl$/.test(file)) {
      continue
    }
    return file
  }
}
function getNextFile ( files , type ) { for ( var i = 0 ; i < files . length ; i ++ ) { var file = files [ i ] if ( / .ttl$ / . test ( file ) ) { continue } return file } }
Gets the next file in a buffer
@param  {array}  files Array of files
@param  {number} type  Type of file to get
@return {string}       Path to file
Gets the next file in a buffer