1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 15:15:46 +01:00

Clean up some crufty comments.

This commit is contained in:
Doug Kearns
2010-10-09 22:48:54 +11:00
parent 8be0558982
commit 64a50b8cfc
8 changed files with 2 additions and 24 deletions

View File

@@ -13,7 +13,6 @@
*/
const Browser = Module("browser", {
}, {
// TODO: support 'nrformats'? -> probably not worth it --mst
incrementURL: function (count) {
let matches = buffer.URL.match(/(.*?)(\d+)(\D*)$/);
dactyl.assert(matches);
@@ -122,10 +121,8 @@ const Browser = Module("browser", {
}
}
if (count < 1)
count = 1;
count = Math.max(count, 1);
// XXX
let url = buffer.URL;
for (let i = 0; i < count; i++) {
if (isDirectory(url))