Sha256: 63bba76e986e147841b3b12addf705c8c45342f363f8a6c06bdc7010c2e5668f

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

if RUBY_ENGINE == 'opal'
  require 'hyperloop/client_stubs'
  require 'hyperloop/on_client'
else
  require 'opal'
  require 'hyperloop/config_settings'
  require 'hyperloop/requires'
  require 'hyperloop/client_readers'
  require 'hyperloop/on_client'
  require 'hyperloop/rail_tie' if defined? Rails
  Hyperloop.require 'opal', gem: true
  Hyperloop.require 'hyperloop-config', gem: true
  # class Sprockets::DirectiveProcessor
  #   def process_depend_on_config_directive(file)
  #     path = File.expand_path(file, "#{Rails.root}/config")
  #     resolve(path)
  #   end
  # end
  Opal.append_path(File.expand_path('../', __FILE__).untaint)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyperloop-config-0.9.0 lib/hyperloop-config.rb