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

Unified Diff: ports/devenv/background.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/curl/curl.js ('k') | ports/devenv/bash.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/devenv/background.js
diff --git a/ports/devenv/background.js b/ports/devenv/background.js
index eb270a048944f6e2acc690e0b9b4c7275d41408d..3377cac2e6843d14269aca7dc2f1e34f9e65d825 100644
--- a/ports/devenv/background.js
+++ b/ports/devenv/background.js
@@ -4,6 +4,8 @@
* found in the LICENSE file.
*/
+/* globals NaClProcessManager, makeRootDir */
+
'use strict';
function newWindow() {
@@ -94,7 +96,7 @@ chrome.runtime.onConnectExternal.addListener(function(port) {
* enabling the repo.
* Also, disable /usr/etc/pkg/repos/NaCl.conf.
*/
- console.log('set_local_repo')
+ console.log('set_local_repo');
var local_repo_file = '/usr/etc/pkg/repos/Local.conf';
files.readText(local_repo_file).then(function(data) {
data = data.replace('http://localhost:5103', msg.data);
@@ -267,7 +269,7 @@ FileManager.prototype.writeText = function(fileName, content) {
}, reject);
function onCreateWriter(writer) {
- var blob = new Blob([content], {type:'text/plain'})
+ var blob = new Blob([content], {type:'text/plain'});
// Discard arguments.
writer.onwriteend = function() {
// truncate done, write data
@@ -275,7 +277,7 @@ FileManager.prototype.writeText = function(fileName, content) {
writer.write(blob);
else
resolve();
- }
+ };
writer.onerror = reject;
writer.truncate(0);
}
« no previous file with comments | « ports/curl/curl.js ('k') | ports/devenv/bash.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698