mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 23:32:26 +01:00
move null return statement into catch block of Javascript#eval
This commit is contained in:
@@ -170,9 +170,11 @@ liberator.Completion = function () //{{{
|
|||||||
// liberator.dump("eval(" + liberator.util.escapeString(arg) + ")");
|
// liberator.dump("eval(" + liberator.util.escapeString(arg) + ")");
|
||||||
return window.eval(arg);
|
return window.eval(arg);
|
||||||
}
|
}
|
||||||
catch(e) {}
|
catch (e)
|
||||||
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Get an element from the stack. If @n is negative,
|
/* Get an element from the stack. If @n is negative,
|
||||||
* count from the top of the stack, otherwise, the bottom.
|
* count from the top of the stack, otherwise, the bottom.
|
||||||
|
|||||||
Reference in New Issue
Block a user