Skip to content

Commit f6eaf9e

Browse files
committed
moved ext files
1 parent 23b200d commit f6eaf9e

File tree

9 files changed

+7
-7
lines changed

9 files changed

+7
-7
lines changed

ruby/hyper-component/lib/hyper-component.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#require 'react/state'
2121
require 'react/object'
2222
require 'react/to_key'
23-
#require 'react/ext/opal-jquery/element' # now have to manually require this
2423
require 'reactive-ruby/isomorphic_helpers'
2524
require 'react/top_level'
2625
#require 'react/top_level_render'

ruby/hyper-component/lib/hyper-component/jquery.rb

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require 'opal-jquery'
2+
require 'hyperstack/ext/component/element'

ruby/hyper-component/lib/react/ext/opal-jquery/element.rb renamed to ruby/hyper-component/lib/hyperstack/ext/component/element.rb

File renamed without changes.
File renamed without changes.
File renamed without changes.

ruby/hyper-component/lib/react/component.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
require 'react/ext/string'
2-
require 'react/ext/hash'
1+
require 'hyperstack/ext/component/string'
2+
require 'hyperstack/ext/component/hash'
33
require 'active_support/core_ext/class/attribute'
44
require 'hyperstack/internal/component/callbacks'
55
require 'react/rendering_context'

ruby/hyper-component/lib/react/element.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'react/ext/string'
1+
require 'hyperstack/ext/component/string'
22

33
module Hyperstack
44
module Component

ruby/hyper-component/spec/test_app/app/views/components.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
if Hyperstack::Component::IsomorphicHelpers.on_opal_client?
33
require 'browser'
44
require 'browser/delay'
5-
require 'react/ext/opal-jquery/element'
5+
#require 'react/ext/opal-jquery/element'
6+
require 'hyperstack/component/jquery'
67
end
78
require 'react/server'
89
require 'react/test/utils'

0 commit comments

Comments
 (0)