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 | #include "TypedArrays.h" | 39 | #include "TypedArrays.h" |
| 40 | #include "XMLHttpRequestClass.h" | 40 | #include "XMLHttpRequestClass.h" |
| 41 | #include "WebSocketClass.h" | 41 | #include "WebSocketClass.h" |
| 42 | #include "WebSocketServerClass.h" | ||
| 43 | 42 | ||
| 44 | #include "SceneScriptingInterface.h" | 43 | #include "SceneScriptingInterface.h" |
| 45 | 44 | ||
| @@ -348,9 +347,6 @@ void ScriptEngine::init() { · 302 unmodified lines | |||
| 348 | QScriptValue webSocketConstructorValue = newFunction(WebSocketClass::constructor); | 347 | QScriptValue webSocketConstructorValue = newFunction(WebSocketClass::constructor); |
| 349 | globalObject().setProperty("WebSocket", webSocketConstructorValue); | 348 | globalObject().setProperty("WebSocket", webSocketConstructorValue); |
| 350 | 349 | ||
| 351 | QScriptValue webSocketServerConstructorValue = newFunction(WebSocketServerClass::constructor); | ||
| 352 | globalObject().setProperty("WebSocketServer", webSocketServerConstructorValue); | ||
| 353 | |||
| 354 | QScriptValue printConstructorValue = newFunction(debugPrint); | 350 | QScriptValue printConstructorValue = newFunction(debugPrint); |
| 355 | globalObject().setProperty("print", printConstructorValue); | 351 | globalObject().setProperty("print", printConstructorValue); |
| 356 | 352 | ||