Index: ports/gtk-demo/Xsdl.js |
diff --git a/ports/gtk-demo/Xsdl.js b/ports/gtk-demo/Xsdl.js |
index ba4f117d5d1cbaf970872c7741bb2d08d19b9f5d..9a64a0422bb71c367f61f00471046280eafba5f8 100644 |
--- a/ports/gtk-demo/Xsdl.js |
+++ b/ports/gtk-demo/Xsdl.js |
@@ -4,6 +4,10 @@ |
* found in the LICENSE file. |
*/ |
+/* globals NaClTerm, NaClProcessManager */ |
+ |
+'use strict'; |
+ |
NaClTerm.nmf = 'Xsdl.nmf'; |
NaClTerm.argv = [ |
'-screen', '1024x768x32', '-ac', '-br', '-noreset', ':42' |
@@ -31,7 +35,7 @@ function startDemo() { |
window.close(); |
}); |
}); |
- window.setTimeout(function(){document.title = 'Gtk+ Demo'}, 15000); |
+ window.setTimeout(function() { document.title = 'Gtk+ Demo'; }, 15000); |
} |
function startWindowManager() { |
@@ -45,4 +49,4 @@ function startWindowManager() { |
} |
startDemo(); |
-window.setTimeout(function() {startWindowManager()}, 5000); |
+window.setTimeout(startWindowManager, 5000); |