mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:57:58 +01:00
declare var in javascript#objectKeys
This commit is contained in:
@@ -533,7 +533,7 @@ function Completion() //{{{
|
||||
compl.push(["wrappedJSObject", obj]);
|
||||
// Parse keys for sorting
|
||||
compl.forEach(function (item) {
|
||||
key = item[0];
|
||||
let key = item[0];
|
||||
if (!isNaN(key))
|
||||
key = parseInt(key);
|
||||
else if (/^[A-Z_]+$/.test(key))
|
||||
|
||||
Reference in New Issue
Block a user