[ 'preRun',
'print',
'printErr',
'read',
'readBinary',
'load',
'arguments',
'I',
'postRun',
'Runtime',
'ccall',
'cwrap',
'setValue',
'getValue',
'ALLOC_NORMAL',
'ALLOC_STACK',
'ALLOC_STATIC',
'ALLOC_DYNAMIC',
'ALLOC_NONE',
'allocate',
'Pointer_stringify',
'UTF16ToString',
'stringToUTF16',
'UTF32ToString',
'stringToUTF32',
'HEAP',
'HEAP8',
'HEAP16',
'HEAP32',
'HEAPU8',
'HEAPU16',
'HEAPU32',
'HEAPF32',
'HEAPF64',
'Md',
'addOnPreRun',
'Jd',
'addOnInit',
'Ld',
'addOnPreMain',
'Id',
'addOnExit',
'Kd',
'addOnPostRun',
'intArrayFromString',
'intArrayToString',
'writeStringToMemory',
'writeArrayToMemory',
'writeAsciiToMemory',
'addRunDependency',
'removeRunDependency',
'preloadedImages',
'preloadedAudios',
'_malloc',
'_memset',
'_strlen',
'_memcpy',
'_free',
'requestFullScreen',
'requestAnimationFrame',
'setCanvasSize',
'pauseMainLoop',
'resumeMainLoop',
'getUserMedia',
'FS_createFolder',
'FS_createPath',
'FS_createDataFile',
'FS_createPreloadedFile',
'FS_createLazyFile',
'FS_createLink',
'FS_createDevice',
'_shoco_decompress',
'_shoco_compress',
'runPostSets',
'Rd',
'callMain',
're',
'run',
'Vd',
'exit',
'abort',
'calledRun',
'stdin',
'stdout',
'stderr',
'preloadPlugins',
'Ta' ]
Download this repo,
cdthere, and runnode. Type this in:I get this error:
instead of the expected
"Hello, World!". FYI,var shoco = require("./shoco.js");Object.keys(shoco);returns:BTW,
var shoco = require("./shoco.js");shoco._shoco_decompress(shoco._shoco_compress("hi"));returns0.