diff options
author | portix <none@none> | 2013-03-15 04:13:20 +0100 |
---|---|---|
committer | portix <none@none> | 2013-03-15 04:13:20 +0100 |
commit | fa00d93c8ddd539617b8257cc7542578ce1818f1 (patch) | |
tree | bbdab6ccc32f432b6f80f4033e4b53c89c5f4e2b /extensions/perdomainsettings | |
parent | 5792415c791c941915deea0205babf6c1429845f (diff) | |
download | dwb-fa00d93c8ddd539617b8257cc7542578ce1818f1.zip |
Inline documentation of javascript api; clean up api: new namespaces net and
timer; this refers to connected object in GObject.connect, moving prototype
declarations from util.js to dwb.js; moving some functions from global namespace
to util
Diffstat (limited to 'extensions/perdomainsettings')
-rw-r--r-- | extensions/perdomainsettings | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/perdomainsettings b/extensions/perdomainsettings index 91b7e4cc..df2645ca 100644 --- a/extensions/perdomainsettings +++ b/extensions/perdomainsettings @@ -174,7 +174,7 @@ function onNavigation(wv, frame, request, action) o.set = {}; var uri = request.uri; var host = request.message.uri.host; - var domain = util.domainFromHost(host); + var domain = net.domainFromHost(host); var rTld = new RegExp(domain.substring(domain.indexOf(".") + 1) + "$"); var domainTld = domain.replace(rTld, "tld"); var hostTld = host.replace(rTld, "tld"); |