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

Unified Diff: ports/quakespasm/quakespasm.js

Issue 1436283002: Add support for jslint and cleanup core JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
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/lua/lua.js ('k') | ports/vim/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/quakespasm/quakespasm.js
diff --git a/ports/quakespasm/quakespasm.js b/ports/quakespasm/quakespasm.js
index bb1a3cac084beb263d1dc79790e5e8bec0a0e714..12817e6c35377972720d4d30b7eb9ac5f7f17f13 100644
--- a/ports/quakespasm/quakespasm.js
+++ b/ports/quakespasm/quakespasm.js
@@ -24,8 +24,9 @@ function runQuake(pwd) {
embed.height = 600;
embed.type = 'application/x-nacl';
embed.src = 'quakespasm.nmf';
- if (pwd)
+ if (pwd) {
embed.setAttribute('PWD', pwd);
+ }
document.getElementById('quake').appendChild(embed);
}
« no previous file with comments | « ports/lua/lua.js ('k') | ports/vim/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698