Sha256: 5085f719d491110993876081bde72ab2b9aeb6c112e7e522efc1b9d892d46167

Contents?: true

Size: 498 Bytes

Versions: 11

Compression:

Stored size: 498 Bytes

Contents

try {
    this['Module'] = Module;
    Module.test;
} catch(e) {
    this['Module'] = Module = {};
}
if (typeof process === 'object') {
    Module['preRun'] = Module['preRun'] || [];
    Module['preRun'].push(function() {
        FS.init();
        FS.mkdir('/test-data');
        FS.mount(NODEFS,  { root: '.' }, '/test-data');
    });
} else {
    Module['print'] = function(x) {
        var event = new Event('test-output');
        event.data = x;
        window.dispatchEvent(event);
    };
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/test/default/pre.js.inc
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.16 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.15.1 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.15 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.13 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.11 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.10 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.9 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.8 vendor/libsodium/test/default/pre.js.inc
rbnacl-libsodium-1.0.7 vendor/libsodium/test/default/pre.js.inc