Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 3 files). Show all
Unified · Split
| @@ -39,7 +39,6 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "TypedArrays.h" |
| 40 | 40 | #include "XMLHttpRequestClass.h" |
| 41 | 41 | #include "WebSocketClass.h" |
| 42 | −#include "WebSocketServerClass.h" | |
| 43 | 42 | |
| 44 | 43 | #include "SceneScriptingInterface.h" |
| 45 | 44 | |
| @@ -348,9 +347,6 @@ void ScriptEngine::init() { · 302 unmodified lines | ||
| 348 | 347 | QScriptValue webSocketConstructorValue = newFunction(WebSocketClass::constructor); |
| 349 | 348 | globalObject().setProperty("WebSocket", webSocketConstructorValue); |
| 350 | 349 | |
| 351 | − QScriptValue webSocketServerConstructorValue = newFunction(WebSocketServerClass::constructor); | |
| 352 | − globalObject().setProperty("WebSocketServer", webSocketServerConstructorValue); | |
| 353 | − | |
| 354 | 350 | QScriptValue printConstructorValue = newFunction(debugPrint); |
| 355 | 351 | globalObject().setProperty("print", printConstructorValue); |
| 356 | 352 | |