| 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() {
|
|
|