mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:57:58 +01:00
Fix horifically slow JS completion.
This commit is contained in:
@@ -984,6 +984,8 @@ lookup:
|
||||
try
|
||||
{
|
||||
liberator.loadScript(uri.spec, new Script(file));
|
||||
if (liberator.initialized)
|
||||
liberator.initHelp();
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
||||
@@ -1205,8 +1205,6 @@ const liberator = (function () //{{{
|
||||
XML.ignoreWhiteSpace = false;
|
||||
XML.prettyPrinting = false;
|
||||
services.get("subscriptLoader").loadSubScript(uri, context);
|
||||
if (liberator.initialized)
|
||||
liberator.initHelp();
|
||||
},
|
||||
|
||||
eval: function (str, context)
|
||||
|
||||
Reference in New Issue
Block a user