Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1594)

Unified Diff: ports/gtk-demo/Xsdl.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/gimp-app/background.js ('k') | ports/libgit2-demo/libgit2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ports/gimp-app/background.js ('k') | ports/libgit2-demo/libgit2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698