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