Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
- Clone this gist
npm install
npm start
- Open
http://localhost:8080
- Look at console
Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
npm install
npm start
http://localhost:8080
require 'selenium-webdriver' | |
require 'rack' | |
require 'rack/handler/thin' | |
class IframeServer | |
def start | |
@pid = fork { Rack::Handler::Thin.run(self, :Port => 9292) } | |
poller = Selenium::WebDriver::SocketPoller.new("localhost", 9292, 30) | |
raise "could not start #{self.inspect}" unless poller.connected? |