2 this['Module'] = Module;
5 this['Module'] = Module = {};
7 if (typeof process === 'object') {
8 Module['preRun'] = Module['preRun'] || [];
9 Module['preRun'].push(function() {
11 FS.mkdir('/test-data');
12 FS.mount(NODEFS, { root: '.' }, '/test-data');
15 Module['print'] = function(x) {
16 var event = new Event('test-output');
18 window.dispatchEvent(event);