#FEATURE by exept
authorClaus Gittinger <cg@exept.de>
Wed, 28 Aug 2019 19:00:45 +0200
changeset 8788 e707256f1852
parent 8787 032a273e7648
child 8789 545bc7e07597
#FEATURE by exept class: ElectronWorkstation class definition added:21 methods class: ElectronWorkstation class added: #documentation #initialize #version_CVS class: ElectronWorkstation::ElectronGraphicsContext class definition class: ElectronWorkstation::ElectronGraphicsContext class added: #documentation
ElectronWorkstation.st
--- a/ElectronWorkstation.st	Sat Aug 24 11:19:32 2019 +0200
+++ b/ElectronWorkstation.st	Wed Aug 28 19:00:45 2019 +0200
@@ -142,7 +142,11 @@
 !
 
 initializeFor:aHostAndPortStringOrNil
-    bridge := NodeJSBridge::ElectronBridge newBridgeForHostAndPort:aHostAndPortStringOrNil.
+    |nodeBridge _ElectronBridge|
+
+    nodeBridge := Smalltalk requirePackage:'exept:bridgeFramework/nodeJSBridge'.
+    _ElectronBridge := nodeBridge classNamed:'NodeJSBridge::ElectronBridge'.
+    bridge := _ElectronBridge newBridgeForHostAndPort:aHostAndPortStringOrNil.
     bridge startBridgeIn:'.' debug:false.
     bridge connect.