Sha256: cb8d51f29297459e898694003a81014aab851834060bc5e70b2b000ef5311ac0

Contents?: true

Size: 846 Bytes

Versions: 4

Compression:

Stored size: 846 Bytes

Contents

require 'opal'
require 'isomorfeus/execution_environment'
require 'isomorfeus/core_ext/kernel'

if RUBY_ENGINE == 'opal'
  require 'native'
  require 'promise'
  require 'securerandom'
  require 'isomorfeus/core_ext/hash/deep_merge'
  require 'redux'
  require 'redux/store'
  require 'redux/reducers'
  require 'isomorfeus/redux_config'
  require 'isomorfeus/browser_store_api'
  require 'local_store'
  require 'session_store'
  require 'app_store'

  Redux::Reducers::add_application_reducers_to_store
  Isomorfeus.init_store
else
  opal_path = Gem::Specification.find_by_name('opal').full_gem_path
  promise_path = File.join(opal_path, 'stdlib', 'promise.rb')
  require promise_path
  require 'redux/version'

  Opal.append_path(__dir__.untaint)

  path = File.expand_path('app')
  Opal.append_path(path) unless Opal.paths.include?(path)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
isomorfeus-redux-4.1.1 lib/isomorfeus-redux.rb
isomorfeus-redux-4.1.0 lib/isomorfeus-redux.rb
isomorfeus-redux-4.0.23 lib/isomorfeus-redux.rb
isomorfeus-redux-4.0.22 lib/isomorfeus-redux.rb