Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanholm committed Feb 23, 2018
1 parent 7177b35 commit 2bad9d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/binds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local modes = require("modes")
local join, split = lousy.util.table.join, lousy.util.string.split

-- URI aliases
local is_uri, split_uri = lousy.uri.is_uri, lousy.uri.split
local split_uri = lousy.uri.split

--- Compatibility wrapper for @ref{modes/add_binds|modes.add_binds()}.
-- @deprecated use @ref{modes/add_binds|modes.add_binds()} instead.
Expand Down Expand Up @@ -482,7 +482,7 @@ modes.add_cmds({
format = "{uri}",
}},
{ ":w[inopen]", "Open one or more URLs in a new window.", {
func = function (w, o) window.new({o.arg}) end,
func = function (_, o) window.new({o.arg}) end,
format = "{uri}",
}},
{ ":javascript, :js", "Evaluate JavaScript snippet.",
Expand Down
3 changes: 3 additions & 0 deletions lib/error_page.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ local _M = {}

local error_page_wm = require_web_module("error_page_wm")

--- Path to the whitelist of allowed invalid certificates.
-- @type string
-- @readwrite
_M.cert_db_path = luakit.data_dir .. "/allowed_certificates.db"

--- Connect to and initialize the bookmarks database.
Expand Down

0 comments on commit 2bad9d1

Please sign in to comment.