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

Unified Diff: ports/devenv/devenv.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/devenv/bash.js ('k') | ports/devenv/devenvwidget/demo.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/devenv/devenv.js
diff --git a/ports/devenv/devenv.js b/ports/devenv/devenv.js
index f6c707866631bda06bd988aa7bff8e108aa28270..1a77219e654eee4f9e70b9630654357d64d815e5 100644
--- a/ports/devenv/devenv.js
+++ b/ports/devenv/devenv.js
@@ -4,6 +4,10 @@
* found in the LICENSE file.
*/
+/* globals NaClProcessManager */
+
+'use strict';
+
NaClProcessManager.fsroot = '/devenv';
// TODO(sbc): This should be handled by nacl_io or perhaps by NaClProcessManager
@@ -21,10 +25,10 @@ function makeRootDir() {
);
}
- window.requestFileSystem = window.requestFileSystem
- || window.webkitRequestFileSystem;
+ window.requestFileSystem = (window.requestFileSystem ||
+ window.webkitRequestFileSystem);
window.requestFileSystem(
- PERSISTENT,
+ window.PERSISTENT,
0,
function(fs) { createDir(fs.root, NaClProcessManager.fsroot); },
function() {
« no previous file with comments | « ports/devenv/bash.js ('k') | ports/devenv/devenvwidget/demo.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698