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

Commit ab2f972

Browse files
committed
kill puts logging. closes #116
1 parent 1f77b98 commit ab2f972

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/reactive-ruby/isomorphic_helpers.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,12 @@ def self.included(base)
66

77
if RUBY_ENGINE != 'opal'
88
def self.load_context(ctx, controller, name = nil)
9-
puts "************************** React Server Context Initialized #{name} *********************************************"
109
@context = Context.new("#{controller.object_id}-#{Time.now.to_i}", ctx, controller, name)
1110
end
1211
else
1312
def self.load_context(unique_id = nil, name = nil)
1413
# can be called on the client to force re-initialization for testing purposes
1514
if !unique_id || !@context || @context.unique_id != unique_id
16-
if on_opal_server?
17-
message = "************************ React Prerendering Context Initialized #{name} ***********************"
18-
else
19-
message = "************************ React Browser Context Initialized ****************************"
20-
end
21-
log(message)
2215
@context = Context.new(unique_id)
2316
end
2417
@context

0 commit comments

Comments
 (0)