1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 18:24:11 +01:00

Rename stringToURLArray ⇒ parseURLs.

This commit is contained in:
Kris Maglione
2010-10-11 15:50:23 -04:00
parent f4ddaafb9e
commit 7f2126179e
4 changed files with 29 additions and 23 deletions

View File

@@ -94,7 +94,7 @@ const Browser = Module("browser", {
mappings.add([modes.NORMAL], ["~"],
"Open home directory",
function () { dactyl.open("~/"); });
function () { dactyl.open("~"); });
mappings.add([modes.NORMAL], ["gh"],
"Open homepage",
@@ -170,7 +170,7 @@ const Browser = Module("browser", {
dactyl.open("about:blank");
}, {
completer: function (context) completion.url(context),
domains: function (args) array.compact(dactyl.stringToURLArray(args[0] || "").map(
domains: function (args) array.compact(dactyl.parseURLs(args[0] || "").map(
function (url) util.getHost(url))),
literal: 0,
privateData: true