Sha256: 0dc9f49712da34135728c6ca53e7324c2d4638274482498bb81f550a47d3ebb9

Contents?: true

Size: 196 Bytes

Versions: 19

Compression:

Stored size: 196 Bytes

Contents

require 'opal-platform'

case OPAL_PLATFORM
when 'nashorn'
  require 'nashorn'
when 'nodejs'
  require 'nodejs/kernel'
  require 'nodejs/io'
when 'headless-chrome'
  require 'headless_chrome'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
opal-1.2.0 stdlib/opal/platform.rb
opal-1.2.0.beta1 stdlib/opal/platform.rb
opal-1.1.1 stdlib/opal/platform.rb
opal-1.1.1.rc1 stdlib/opal/platform.rb
opal-1.1.0 stdlib/opal/platform.rb
opal-1.1.0.rc1 stdlib/opal/platform.rb
opal-1.0.5 stdlib/opal/platform.rb
opal-1.0.4 stdlib/opal/platform.rb
opal-1.0.3 stdlib/opal/platform.rb
opal-1.0.2 stdlib/opal/platform.rb
opal-1.0.1 stdlib/opal/platform.rb
opal-1.0.0 stdlib/opal/platform.rb
opal-1.0.0.beta1 stdlib/opal/platform.rb
opal-0.11.4 stdlib/opal/platform.rb
opal-0.11.3 stdlib/opal/platform.rb
opal-0.11.2 stdlib/opal/platform.rb
opal-0.11.1 stdlib/opal/platform.rb
opal-0.11.1.pre stdlib/opal/platform.rb
opal-0.11.0 stdlib/opal/platform.rb