# require 'hike'
require 'benchmark'
require 'bigdecimal'
require 'buffer'
require 'base64'
require 'console'
require 'date'
require 'delegate'
# require 'encoding'
require 'enumerator'
require 'erb'
# require 'file'
require 'fileutils'
require 'forwardable'
require 'iconv'
require 'json'
require 'js'
# require 'math'
# require 'nashorn'
require 'observer'
# require 'opal-builder'
require 'opal-parser'
require 'opal-platform'
# require 'source-maps'
require 'ostruct'
require 'pathname'
require 'pp'
require 'promise'
require 'securerandom'
require 'set'
require 'singleton'
# require 'source_map'
# require 'sourcemap'
require 'stringio'
require 'strscan'
require 'template'
require 'thread'
require 'time'
# require 'yaml'
puts "Test 1 2 3"
lib
directory of the gem to the load path of the Opal
opal
directory (and the lib
directory contains the code the pushes opal
dir to the opal's load path)
opal
executable you can write something like$ opal -I../opal-browser/opal --gem paggio --compile your_code.rb
opal-browser
is in ../opal-browser
)
require 'opal-browser'
before compiling the code to register all paths