Rack middleware to automatically compile ruby scripts to javascripts
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/rack
.gitattributes
.gitignore
README.md
Rakefile
VERSION
rack-opal.gemspec

README.md

Rack-Opal - Rack middleware to automatically compile Opal sources

What is Opal

Opal is a ruby to javascript compiler.

Example usage

require 'rack/opal'

use Rack::OpalCompiler, :source_dir => "source/javascripts/lib", 
                       :build_dir => "source/javascripts", 
					   :files_pattern => "**/*.rb", 
					   :app_name => "tutorial"