FriendlyEats.prototype.getCleanPath = function()

in scripts/FriendlyEats.js [80:86]


FriendlyEats.prototype.getCleanPath = function(dirtyPath) {
  if (dirtyPath.startsWith('/index.html')) {
    return dirtyPath.split('/').slice(1).join('/');
  } else {
    return dirtyPath;
  }
};