Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Including opal-jquery with reactrb breaks #166

Closed
@bwl21

Description

@bwl21

I have an app which already includes opal-jquery. It appears that there is a conflict.

I have created a test case - https://github.com/bwl21/reactrb-jquery-confict

this is my require tree in application.rb

require 'opal'
require 'opal-jquery'

require 'react-latest'     # or other version i.e. react-v14
#require 'reactrb'; require 'clock'

require 'controller'

puts "now starting testcase"
puts

This is my Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    coderay (1.1.0)
    concurrent-ruby (1.0.0)
    graphviz (0.1.0)
    hike (1.2.3)
    method_source (0.8.2)
    opal (0.9.0)
      hike (~> 1.2)
      sourcemap (~> 0.1.0)
      sprockets (~> 3.1)
      tilt (>= 1.4)
    opal-activesupport (0.3.0)
      opal (>= 0.5.0, < 1.0.0)
    opal-browser (0.2.0)
      opal
      paggio
    opal-jquery (0.4.1)
      opal (>= 0.7.0, < 0.10.0)
    paggio (0.2.6)
    pry (0.10.3)
      coderay (~> 1.1.0)
      method_source (~> 0.8.1)
      slop (~> 3.4)
    rack (1.6.4)
    rake (10.4.2)
    reactrb (0.8.8)
      opal (>= 0.8.0)
      opal-activesupport (>= 0.2.0)
      opal-browser (= 0.2.0)
    sass (3.4.20)
    slop (3.6.0)
    sourcemap (0.1.1)
    sprockets (3.5.2)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    tilt (2.0.1)
    vector2d (2.1.0)
    zip (2.0.2)

PLATFORMS
  ruby

DEPENDENCIES
  bundler
  graphviz
  opal (~> 0.9.0)
  opal-jquery (~> 0.4.0)
  pry
  rake
  reactrb
  sass
  vector2d (~> 2.1.0)
  zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions