Explorar el Código

Small fix to use new keyword messaging convention for calling js methods.

Göran Krampe hace 13 años
padre
commit
d790c2caf0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nodejs/trivialserver/TrivialServer.st

+ 1 - 1
nodejs/trivialserver/TrivialServer.st

@@ -34,7 +34,7 @@ start
 	    res end: (self process: req)].
 
         (http createServer: block)
-                listen: #(1337 '127.0.0.1').
+                listen: 1337 host: '127.0.0.1'.
         console log: 'TrivialServer running at http://127.0.0.1:1337/'
 ! !