2013-07-08 01:04:13 -04:00
|
|
|
try {
|
|
|
|
this['Module'] = Module;
|
|
|
|
Module.test;
|
|
|
|
} catch(e) {
|
|
|
|
this['Module'] = Module = {};
|
|
|
|
}
|
|
|
|
Module['preRun'] = Module['preRun'] || [];
|
|
|
|
Module['preRun'].push(function(){
|
|
|
|
FS.init();
|
2014-11-22 16:46:09 -05:00
|
|
|
FS.mkdir('/test-data');
|
2014-11-22 17:33:58 -05:00
|
|
|
FS.mount(NODEFS, { root: '.' }, '/test-data');
|
2013-07-08 01:04:13 -04:00
|
|
|
});
|