You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
In the usage examples within the README, the solidWs function is imported as SolidWs but used as solidWs. For consistency and convention in JavaScript (camelCase for functions), the import should be changed to solidWs.
Proposed fix:
In the "Short way" and "Long way" examples, update the import statement to:
varsolidWs=require('solid-ws')
This will maintain consistency with the function call solidWs(server).
The README still has SolidWs instead of solidWs, which is inconsistent with the function call. This should be fixed for clarity and convention. Any updates on this?
varSolidWs=require('solid-ws')varldnode=require('ldnode')varserver=ldnode.createServer()solidWs(server)server.listen(port,function(){console.log('Solid server started')})
Activity
Fix nodeSolidServer#26: Correct solidWs naming and syntax error in RE…
melvincarvalho commentedon Mar 18, 2025
The README still has SolidWs instead of solidWs, which is inconsistent with the function call. This should be fixed for clarity and convention. Any updates on this?
@bourgeoa ?
TallTed commentedon Mar 18, 2025
@melvincarvalho — Can you submit a PR that would fix this? That is probably the fastest way to move it forward...
TallTed commentedon Mar 18, 2025
@melvincarvalho — Sorry, GitHub UI changes led me to overlook that you have submitted such a PR as #27: Fix #26: Correct solidWs naming and syntax error in README.