Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
- Clone this gist
 npm installnpm start- Open 
http://localhost:8080 - Look at console
 
Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
npm installnpm starthttp://localhost:8080| class Organization | |
| def to_param | |
| "42" | |
| end | |
| def saved? | |
| rand > 0.5 | |
| end | |
| end | |
| class OrganizationCreator | 
| // simple dsl just wrapping angular's dsl, just providing higher abstraction | |
| angular.scenario.dsl('submitMessage', function() { | |
| return function(message) { | |
| // these dsl already register futures (add fn into the queue), | |
| // so you don't wrap them into addFutureAction | |
| input('modelValue').enter(message); | |
| element('button.submit').click(); | |
| }; | |
| }); |