diff --git a/js/x11/core/examples/simple/hello.js b/js/x11/core/examples/simple/hello.js new file mode 100644 index 0000000..0e2c437 --- /dev/null +++ b/js/x11/core/examples/simple/hello.js @@ -0,0 +1,5 @@ +var x11 = require('../../lib'); +x11.createClient(function(err, display) { + console.log('succesfully connected to \"' + display.vendor + '\" server'); + display.client.terminate(); +});