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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user