Sha256: 811d4b2ea7e3dbd6e0d7a673777dadb9e764ab198a2236ff6ab1a41fe7f8fe32
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
require 'bundler' Bundler.require html = <<HTML <!DOCTYPE html> <html> <head> <title>Opal corelib and runtime specs</title> </head> <body> <script type="text/javascript" src="/assets/autorun.js"></script> </body> </html> HTML map '/assets' do env = Opal::Environment.new env.append_path 'spec' run env end map '/' do run lambda { |env| [200, {'Content-Type' => 'text/html'}, [html]] } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.37 | config.ru |
opal-0.3.36 | config.ru |