mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-26 00:59:24 +01:00
8 lines
215 B
JavaScript
8 lines
215 B
JavaScript
var Module = {};
|
|
var decode = require('../decompress');
|
|
var base64 = require('base64-js');
|
|
Module['readBinary'] = function() {
|
|
var src = base64['toByteArray'](require('../build/mem.js'));
|
|
return decode(src);
|
|
};
|