Skip to content

Instantly share code, notes, and snippets.

@ylluminate
Forked from aostrega/README.txt
Created June 3, 2014 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ylluminate/694543d0231976f6f151 to your computer and use it in GitHub Desktop.
Save ylluminate/694543d0231976f6f151 to your computer and use it in GitHub Desktop.
Run `rackup` then visit http://localhost:9292/stuff.js.
require 'opal'
assets = Opal::Environment.new
assets.append_path('.')
$LOAD_PATH.each { |p| assets.append_path(p) }
run assets
require 'matrix' # Can require, but currently not parse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment