annotate vampipe.map @ 5:7826fe343733

Force Emscripten to emit the static memory init code inside the JS file. - Emscripten emits it into a separate .mem file for optimised builds, as of 1.12.1 - The file is loaded asyncronously, so occasionally the runtime hadn't initialised before trying to call functions (happened in Chrome, similar to what we've seen before) - This is the easiest fix, without changing the JS for this simple example.
author Lucas Thompson <lucas.thompson@qmul.ac.uk>
date Wed, 24 Aug 2016 14:18:08 +0100
parents c226df029ac8
children a313ce2577ea
rev   line source
Chris@0 1 {
Chris@0 2 global: vampipeRequestJson; vampipeFreeJson;
Chris@0 3 local: *;
Chris@0 4 };