Imba::Source

JavaScript source code for the Imba compiler and runtime library.

Usage (public API)

require 'imba/source'

# The Imba runtime:
Imba::Source.path_for("imba.dev.js")
Imba::Source.path_for("imba.js")

# The Imba compiler:
Imba::Source.path_for("imbac.dev.js")
Imba::Source.path_for("imbac.js")

# Path to the directory which contains the files above
Imba::Source::BROWSER_PATH # => Pathname instance

Installation

Add this line to your application's Gemfile:

gem 'imba-source'

And then execute:

$ bundle

Or install it yourself as:

$ gem install imba-source

License

The gem is available as open source under the terms of the MIT License.