mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:17:59 +01:00
rename old liberator.eval() to evalExpression
This commit is contained in:
@@ -659,7 +659,8 @@ const liberator = (function () //{{{
|
||||
// partial sixth level expression evaluation
|
||||
// TODO: what is that really needed for, and where could it be used?
|
||||
// Or should it be removed? (c) Viktor
|
||||
eval: function (string)
|
||||
// Better name? See other liberator.eval()
|
||||
evalExpression: function (string)
|
||||
{
|
||||
string = string.toString().replace(/^\s*/, "").replace(/\s*$/, "");
|
||||
var matches = string.match(/^&(\w+)/);
|
||||
|
||||
Reference in New Issue
Block a user