Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 9 files). Show all
Unified · Split
| @@ -14,10 +14,10 @@ · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | #include "ScriptEngineLogging.h" | 15 | #include "ScriptEngineLogging.h" |
| 16 | #include "ScriptValue.h" | 16 | #include "ScriptValue.h" |
| 17 | #include "qtscript/ScriptEngineQtScript.h" | 17 | #include "v8/ScriptEngineV8.h" |
| 18 | 18 | ||
| 19 | ScriptEnginePointer newScriptEngine(ScriptManager* manager) { | 19 | ScriptEnginePointer newScriptEngine(ScriptManager* manager) { |
| 20 | return std::make_shared<ScriptEngineQtScript>(manager); | 20 | return std::make_shared<ScriptEngineV8>(manager); |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | ScriptValue makeScopedHandlerObject(const ScriptValue& scopeOrCallback, const ScriptValue& methodOrName) { | 23 | ScriptValue makeScopedHandlerObject(const ScriptValue& scopeOrCallback, const ScriptValue& methodOrName) { |