diff --git a/examples/helloworld.js b/examples/helloworld.js index 0dc3fa8..4927343 100644 --- a/examples/helloworld.js +++ b/examples/helloworld.js @@ -46,4 +46,6 @@ window.resize(300, 150); window.show(); // Join Node's event loop -setInterval(app.processEvents, 0); +setInterval(function(){ + app.processEvents(); +}, 0);