1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

add liberator.eval()

This commit is contained in:
Doug Kearns
2008-09-01 03:06:29 +00:00
parent aa687a20a7
commit f76d0c3ccd
3 changed files with 13 additions and 9 deletions

View File

@@ -259,9 +259,7 @@ liberator.CommandLine = function () //{{{
try
{
// TODO: move to liberator.eval()?
// with (liberator) means, liberator is the default namespace "inside" eval
arg = eval("with (liberator) {" + arg + "}");
arg = liberator.eval(arg);
}
catch (e)
{