Sha256: 607a7763bb656701f25757770c508d009f29289ad9ec94a6b38d207b86d35fdb

Contents?: true

Size: 904 Bytes

Versions: 9

Compression:

Stored size: 904 Bytes

Contents

# rubocop:disable Style/FileName

require 'hyper-component'

Hyperstack.js_import 'hyperstack/router/react-router-source', defines: ['ReactRouter', 'ReactRouterDOM', 'History']
Hyperstack.import 'hyper-router'

if RUBY_ENGINE == 'opal'
  require 'react/router'
  require 'react/router/dom'
  require 'react/router/history'

  require 'hyperstack/internal/router/isomorphic_methods'
  require 'hyperstack/router/history'
  require 'hyperstack/router/location'
  require 'hyperstack/router/match'
  require 'hyperstack/internal/router/class_methods'
  require 'hyperstack/internal/router/helpers'
  require 'hyperstack/internal/router/instance_methods'

  require 'hyperstack/router/helpers'
  require 'hyperstack/router'
else
  require 'opal'
  require 'hyperstack/internal/router/isomorphic_methods'
  require 'hyperstack/router/version'

  Opal.append_path File.expand_path('../', __FILE__).untaint
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hyper-router-1.0.alpha1.8 lib/hyper-router.rb
hyper-router-1.0.alpha1.7 lib/hyper-router.rb
hyper-router-1.0.alpha1.6 lib/hyper-router.rb
hyper-router-1.0.alpha1.5 lib/hyper-router.rb
hyper-router-1.0.alpha1.4 lib/hyper-router.rb
hyper-router-1.0.alpha1.3 lib/hyper-router.rb
hyper-router-1.0.alpha1.2 lib/hyper-router.rb
hyper-router-1.0.alpha1.1 lib/hyper-router.rb
hyper-router-1.0.alpha1 lib/hyper-router.rb