From f3b00d44199406efa74ac5df3186bcb56c8da524 Mon Sep 17 00:00:00 2001 From: burnspirit Date: Tue, 3 Jun 2014 11:35:24 +0100 Subject: [PATCH] Update helloworld.js fix wont run in some systems --- examples/helloworld.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);