Skip to content

Commit

Permalink
Nitpick on extra slashes in the URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Aug 11, 2010
1 parent a28ef2f commit ce1e5ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/visitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var Browsers = require("./browsers").Browsers;
function composeURLs (base, cwd, files) {
var urls = [];
files.forEach(function (file) {
if ("/" == file[0]) file = file.substr(1);
urls.push([base, cwd, file].join("/"));
});
return urls;
Expand Down

0 comments on commit ce1e5ea

Please sign in to comment.