mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Enable all extensions in the JS engine
This commit is contained in:
parent
a08afe423e
commit
83f2019680
@ -243,8 +243,7 @@ bool JSON::FrameParser::save(const bool silent)
|
||||
bool JSON::FrameParser::loadScript(const QString &script)
|
||||
{
|
||||
// Ensure that engine is configured correctly
|
||||
m_engine.installExtensions(QJSEngine::ConsoleExtension
|
||||
| QJSEngine::GarbageCollectionExtension);
|
||||
m_engine.installExtensions(QJSEngine::AllExtensions);
|
||||
|
||||
// Check if there are no general JS errors
|
||||
QStringList errors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user