1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-03 11:25:46 +01:00

Fix some minor function formatting faux pas.

This commit is contained in:
Doug Kearns
2009-05-29 14:46:50 +10:00
parent 5e760406ab
commit cd3364197f
5 changed files with 13 additions and 9 deletions

View File

@@ -340,7 +340,7 @@ CompletionContext.prototype = {
let [k, v] = i;
let _k = "_" + k;
if (typeof v == "string" && /^[.[]/.test(v))
v = eval("(function(i) i" + v + ")")
v = eval("(function (i) i" + v + ")")
if (typeof v == "function")
res.__defineGetter__(k, function () _k in this ? this[_k] : (this[_k] = v(this.item)));
else